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
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
2 matches
Mail list logo