[syslinux] New Memory Allocation

H. Peter Anvin hpa at zytor.com
Sun Nov 4 22:23:08 PST 2012


On 11/05/2012 03:46 AM, Shao Miller wrote:
> 
> From ac128116a0a4fb2965ea713ea844ecf1a92cf9d9 Mon Sep 17 00:00:00 2001
> 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.
> 

OW!

OK, that explains it...

	-hpa





More information about the Syslinux mailing list