diff options
author | Dan Carpenter <[email protected]> | 2010-04-22 12:05:35 +0200 |
---|---|---|
committer | James Morris <[email protected]> | 2010-04-22 21:17:41 +1000 |
commit | b338cc8207eae46640a8d534738fda7b5e48511d (patch) | |
tree | 13ce72ed8e2a83ce127c3380ba0a7084591db3ab /drivers/mtd/lpddr/lpddr_cmds.c | |
parent | e134d200d57d43b171dcb0b55c178a1a0c7db14a (diff) |
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 <[email protected]>
Signed-off-by: James Morris <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions