Grow.c: Fix classic readlink() buffer overflow
The buffer passed on to readlink() needs to contain space for the terminating \0. See 'man 3 readlink' for details. Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: NeilBrown <neilb@suse.de>
This commit is contained in:
parent
7a862a020f
commit
9eb5ce5ae2
Loading…
Reference in New Issue