summaryrefslogtreecommitdiffstats
path: root/security/integrity
diff options
context:
space:
mode:
authorYunfeng Ye <yeyunfeng@huawei.com>2020-01-31 07:17:26 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2020-01-31 19:30:41 +0100
commitaacee5446a2a1aa35d0a49dab289552578657fb4 (patch)
treeba28a9321a427dc2be27b549bbf99f930d4a9018 /security/integrity
parentinit/main.c: fix misleading "This architecture does not have kernel memory pr... (diff)
downloadlinux-aacee5446a2a1aa35d0a49dab289552578657fb4.tar.xz
linux-aacee5446a2a1aa35d0a49dab289552578657fb4.zip
reiserfs: prevent NULL pointer dereference in reiserfs_insert_item()
The variable inode may be NULL in reiserfs_insert_item(), but there is no check before accessing the member of inode. Fix this by adding NULL pointer check before calling reiserfs_debug(). Link: http://lkml.kernel.org/r/79c5135d-ff25-1cc9-4e99-9f572b88cc00@huawei.com Signed-off-by: Yunfeng Ye <yeyunfeng@huawei.com> Cc: zhengbin <zhengbin13@huawei.com> Cc: Hu Shiyuan <hushiyuan@huawei.com> Cc: Feilong Lin <linfeilong@huawei.com> Cc: Jan Kara <jack@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'security/integrity')
0 files changed, 0 insertions, 0 deletions