]> git.sur5r.net Git - u-boot/commit
ubifs: BUG realpath string must be ended with NULL
authorRicardo Ribalda Delgado <ricardo.ribalda@uam.es>
Mon, 27 Apr 2009 07:13:31 +0000 (09:13 +0200)
committerWolfgang Denk <wd@denx.de>
Mon, 27 Apr 2009 23:21:36 +0000 (01:21 +0200)
commitdbd33614404b65aa441c5620c3dbd560c4460c09
treee6ea0481513f27caeda49b429b6809b77683b799
parent65351a8793c51f3787efbbcf3aa1df0ad543c127
ubifs: BUG realpath string must be ended with NULL

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@uam.es>
Acked-by: Stefan Roese <sr@denx.de>
fs/ubifs/ubifs.c