[U-Boot] [PATCH] lcd: align bmp header when uncopmressing image

Wolfgang Denk wd at denx.de
Mon Jun 3 20:45:57 CEST 2013


Dear Piotr Wilczek,

In message <000b01ce6064$b52a7de0$1f7f79a0$%wilczek at samsung.com> you wrote:
> 
> > Oops??? Initial alignment has NOTHING to do with writing over the
> > allocated end of memory!
>
> No, I meant only that malloc allocates memory in at least 4-byte resolution.

Does it?  I see no such guarantee in the specification.


Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
No problem is insoluble.
	-- Dr. Janet Wallace, "The Deadly Years", stardate 3479.4


More information about the U-Boot mailing list