]> git.hungrycats.org Git - linux/commit
[PATCH] readlink in /proc w/ overlong path
authorAndries E. Brouwer <andries.brouwer@cwi.nl>
Sun, 30 Mar 2003 01:14:38 +0000 (17:14 -0800)
committerLinus Torvalds <torvalds@home.transmeta.com>
Sun, 30 Mar 2003 01:14:38 +0000 (17:14 -0800)
commit09fc33ed302304364734f5c56d456acdf2c0b536
tree5d384d5d3e9966301923c0059138364471ac3894
parent00a5bfb747b9c5d9eaab5ce24a27bb3166927a3b
[PATCH] readlink in /proc w/ overlong path

Trying to read the overlong target of a /proc/*/fd/N file descriptor
leads to a SIGSEGV inside the kernel, because the code doesn't check
for an error pointer return from d_path.
fs/proc/base.c