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

2009-04-27 Thread Mike Frysinger
On Friday 24 April 2009 10:36:05 Ricardo Ribalda Delgado wrote: If the memory used to copy the link_make is dirty the string wont be ended with Zero, throwing out multiple memory bugs. use NULL or NUL, not Zero. same goes for subject. + link_name[ui-data_len]='\0'; need spaces

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

2009-04-24 Thread Ricardo Ribalda Delgado
If the memory used to copy the link_make is dirty the string wont be ended with Zero, throwing out multiple memory bugs. Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@uam.es --- v2: better doc and remove duplicated memcpy fs/ubifs/ubifs.c |1 + 1 files changed, 1 insertions(+), 0