aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorMatthew Wilcox <[email protected]>2023-06-04 12:16:06 +0100
committerChristian Brauner <[email protected]>2023-07-10 14:36:10 +0200
commitba38980add7ffc9e674ada5b4ded4e7d14e76581 (patch)
tree51a9aadd76d8a74988fa95ec3429113c16c073a7 /tools/perf/scripts/python/stackcollapse.py
parente2393b8f3987c5f29dca03aa71d0502f6d721c0d (diff)
reiserfs: Check the return value from __getblk()
__getblk() can return a NULL pointer if we run out of memory or if we try to access beyond the end of the device; check it and handle it appropriately. Signed-off-by: Matthew Wilcox (Oracle) <[email protected]> Link: https://lore.kernel.org/lkml/CAFcO6XOacq3hscbXevPQP7sXRoYFz34ZdKPYjmd6k5sZuhGFDw@mail.gmail.com/ Tested-by: butt3rflyh4ck <[email protected]> Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") # probably introduced in 2002 Acked-by: Edward Shishkin <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions