diff options
author | Yunfeng Ye <[email protected]> | 2020-01-30 22:17:26 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2020-01-31 10:30:41 -0800 |
commit | aacee5446a2a1aa35d0a49dab289552578657fb4 (patch) | |
tree | ba28a9321a427dc2be27b549bbf99f930d4a9018 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f596ded1a044517afc4e9325f0dea449858450ac (diff) |
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/[email protected]
Signed-off-by: Yunfeng Ye <[email protected]>
Cc: zhengbin <[email protected]>
Cc: Hu Shiyuan <[email protected]>
Cc: Feilong Lin <[email protected]>
Cc: Jan Kara <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions