]> err.no Git - util-linux/commit
namei: fix buffer overflow
authorKarel Zak <kzak@redhat.com>
Tue, 6 Jan 2009 13:26:12 +0000 (14:26 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 6 Jan 2009 13:26:12 +0000 (14:26 +0100)
commitf7ed29a7b6fe4cd7a6d53619674115355771aed5
treea1f35dfa71a96414fd8d246f2f2e6771f6c3ef59
parent6db46818025102003d0c739f024500ef3925b4db
namei: fix buffer overflow

 $ ./namei  /usr/bin/java
 *** glibc detected *** ./namei: free(): invalid next size (fast): 0x00000000018e5070 ***
 [...]
 Aborted

Reported-by: Sami Kerola <kerolasa@iki.fi>
Signed-off-by: Karel Zak <kzak@redhat.com>
misc-utils/namei.c