[syslinux] New Memory Allocation
Matt Fleming
matt at console-pimps.org
Mon Nov 5 00:53:19 PST 2012
On Sun, 2012-11-04 at 21:46 -0500, Shao Miller wrote:
> From: Shao Miller <sha0.miller at gmail.com>
> Date: Sun, 4 Nov 2012 21:23:09 -0500
> Subject: [PATCH] core: Fix realloc() code transcription error
>
> Commit 79459f631546eea83d4158f535c20ebd4ac18987 copied portions of
> com32/lib/realloc.c into core/mem/malloc.c, with minor changes
> for accessing allocation arena header attributes. The previous
> code used structure members and the current code uses bitmask
> macros.
>
> On a particular line in the original realloc(), there were two
> assignments in a single expression that included a compound
> assignment. This fact was missed when the code was copied and
> modified to use the bitmask macros.
>
> Signed-off-by: Shao Miller <sha0.miller at gmail.com>
> ---
> core/mem/malloc.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
I've picked this patch up for 5.00-pre10. Thanks Shao!
--
Matt Fleming, Intel Open Source Technology Center
More information about the Syslinux
mailing list