diff options
author | Amy Griffis <amy.griffis@hp.com> | 2006-05-20 15:00:07 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-05-21 12:59:18 -0700 |
commit | d66fd908acc8ba88541ecc570d89b0243f947c5e (patch) | |
tree | 4367428c092231981230975b37cd1fbff3ec3155 /net | |
parent | 66055a4e7334b05354c835123ff621c5f700e56a (diff) |
[PATCH] fix NULL dereference in inotify_ignore
Don't reassign to watch. If idr_find() returns NULL, then
put_inotify_watch() will choke.
Signed-off-by: Amy Griffis <amy.griffis@hp.com>
Cc: John McCutchan <john@johnmccutchan.com>
Cc: Robert Love <rlove@rlove.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions