summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/lists.py
diff options
context:
space:
mode:
authorCharles Han <hanchunchao@inspur.com>2025-01-10 11:42:37 +0300
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>2025-01-13 04:31:27 +0300
commit352fafe97784e81a10a7c74bd508f71a19b53c2a (patch)
tree3d20775021fdb8d5a47fa35a763300ce5f428b8e /scripts/gdb/linux/lists.py
parent892bb0740b02e9cc1e4e28b9fc042d5987257bef (diff)
downloadlinux-352fafe97784e81a10a7c74bd508f71a19b53c2a.tar.xz
firewire: test: Fix potential null dereference in firewire kunit test
kunit_kzalloc() may return a NULL pointer, dereferencing it without NULL check may lead to NULL dereference. Add a NULL check for test_state. Fixes: 1c8506d62624 ("firewire: test: add test of device attributes for simple AV/C device") Signed-off-by: Charles Han <hanchunchao@inspur.com> Link: https://lore.kernel.org/r/20250110084237.8877-1-hanchunchao@inspur.com Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions