diff options
author | Pei Xiao <xiaopei01@kylinos.cn> | 2024-10-30 10:48:01 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-11-08 00:48:21 +0300 |
commit | 93d53f1caf2cf861d0f28d096792d3b92efae178 (patch) | |
tree | a7ec109e5876b44934aaec8f36398caa4eed8778 /tools/perf/scripts/python/parallel-perf.py | |
parent | ef4f6c322bf4ca8e6d050cd0667a9447b8cbe212 (diff) | |
download | linux-93d53f1caf2cf861d0f28d096792d3b92efae178.tar.xz |
bcachefs: add check NULL return of bio_kmalloc in journal_read_bucket
bio_kmalloc may return NULL, will cause NULL pointer dereference.
Add check NULL return for bio_kmalloc in journal_read_bucket.
Signed-off-by: Pei Xiao <xiaopei01@kylinos.cn>
Fixes: ac10a9611d87 ("bcachefs: Some fixes for building in userspace")
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions