diff options
author | Pei Xiao <[email protected]> | 2024-10-30 15:48:01 +0800 |
---|---|---|
committer | Kent Overstreet <[email protected]> | 2024-11-07 16:48:21 -0500 |
commit | 93d53f1caf2cf861d0f28d096792d3b92efae178 (patch) | |
tree | a7ec109e5876b44934aaec8f36398caa4eed8778 /scripts/bpf_doc.py | |
parent | ef4f6c322bf4ca8e6d050cd0667a9447b8cbe212 (diff) |
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 <[email protected]>
Fixes: ac10a9611d87 ("bcachefs: Some fixes for building in userspace")
Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions