author | Linus Torvalds <torvalds@linux-foundation.org> | |
Tue, 10 Apr 2007 04:13:58 +0000 (21:13 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Tue, 10 Apr 2007 05:30:05 +0000 (22:30 -0700) | ||
commit | 5d5cea67af386cfd53428f1eb404841eca8e9062 | |
tree | f7bc8cf645fe62bd0fc24ff77e4c1fe9fb50bf46 | tree | snapshot |
parent | 844c11ae259bd33b971b9ca389b3f9619427e9a8 | commit | diff |
Avoid overflowing name buffer in deep directory structures
This just makes sure that when we do a read_directory(), we check
that the filename fits in the buffer we allocated (with a bit of
slop)
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
This just makes sure that when we do a read_directory(), we check
that the filename fits in the buffer we allocated (with a bit of
slop)
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
dir.c | diff | blob | history |