aboutsummaryrefslogtreecommitdiffstats
path: root/lib/spinlock_debug.c
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-04-22 06:05:35 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2010-05-12 18:03:06 -0400
commit4933574421fa12c89c29f95a57c6969be8c9e2d3 (patch)
treec3de1e9a722dd02381d1c42d7a77482512309bbb /lib/spinlock_debug.c
parent70935714dcaf540b6b10328270948a0cda85ab18 (diff)
security: testing the wrong variable in create_by_name()
commit b338cc8207eae46640a8d534738fda7b5e48511d upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'lib/spinlock_debug.c')
0 files changed, 0 insertions, 0 deletions