diff options
| author | Li Zhong <[email protected]> | 2022-09-16 23:33:05 +0000 |
|---|---|---|
| committer | Song Liu <[email protected]> | 2022-11-14 17:35:49 +0000 |
| commit | 3bd548e5b819b8c0f2c9085de775c5c7bff9052f (patch) | |
| tree | f6a8bf47de5de4b17adeffd72ade8ca7b8df991e /lib/raid6/algos.c | |
| parent | sbitmap: Use single per-bitmap counting to wake up queued tags (diff) | |
| download | kernel-3bd548e5b819b8c0f2c9085de775c5c7bff9052f.tar.gz kernel-3bd548e5b819b8c0f2c9085de775c5c7bff9052f.zip | |
drivers/md/md-bitmap: check the return value of md_bitmap_get_counter()
Check the return value of md_bitmap_get_counter() in case it returns
NULL pointer, which will result in a null pointer dereference.
v2: update the check to include other dereference
Signed-off-by: Li Zhong <[email protected]>
Signed-off-by: Song Liu <[email protected]>
Diffstat (limited to 'lib/raid6/algos.c')
0 files changed, 0 insertions, 0 deletions
