[U-Boot] [PATCH 1/2] ubifs: BUG realpath string must be ended with NULL

Wolfgang Denk wd at denx.de
Tue Apr 28 01:21:50 CEST 2009


Dear Ricardo Ribalda Delgado,

In message <1240816411-16585-1-git-send-email-ricardo.ribalda at uam.es> you wrote:
> If the memory used to copy the link_make is "dirty" the string wont
> be ended with NULL, throwing out multiple memory bugs.
> 
> Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda at uam.es>
> ---
> v3: s/ZERO/NULL/, s/=/ = /
> v2: better doc and remove duplicated memcpy

Applied, thanks.

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
Software entities are more complex for their size  than  perhaps  any
other human construct because no two parts are alike. If they are, we
make  the  two  similar parts into a subroutine -- open or closed. In
this respect, software  systems  differ  profoundly  from  computers,
buildings, or automobiles, where repeated elements abound.
                                                   - Fred Brooks, Jr.


More information about the U-Boot mailing list