aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dump_stack.c
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-04-22 12:05:35 +0200
committerJames Morris <jmorris@namei.org>2010-04-22 21:17:41 +1000
commitb338cc8207eae46640a8d534738fda7b5e48511d (patch)
tree13ce72ed8e2a83ce127c3380ba0a7084591db3ab /lib/dump_stack.c
parentCRED: Fix a race in creds_are_invalid() in credentials debugging (diff)
downloadlinux-dev-b338cc8207eae46640a8d534738fda7b5e48511d.tar.xz
linux-dev-b338cc8207eae46640a8d534738fda7b5e48511d.zip
security: testing the wrong variable in create_by_name()
There is a typo here. We should be testing "*dentry" instead of "dentry". If "*dentry" is an ERR_PTR, it gets dereferenced in either mkdir() or create() which would cause an OOPs. Signed-off-by: Dan Carpenter <error27@gmail.com> Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'lib/dump_stack.c')
0 files changed, 0 insertions, 0 deletions