Searched hist:"98 dba02d9a93eec11bffbb93c7c51624290702d2" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/md/ |
H A D | dm-flakey.c | diff 98dba02d9a93eec11bffbb93c7c51624290702d2 Tue Apr 18 14:57:47 CDT 2023 Mikulas Patocka <mpatocka@redhat.com> dm flakey: fix a crash with invalid table line
This command will crash with NULL pointer dereference: dmsetup create flakey --table \ "0 `blockdev --getsize /dev/ram0` flakey /dev/ram0 0 0 1 2 corrupt_bio_byte 512"
Fix the crash by checking if arg_name is non-NULL before comparing it.
Cc: stable@vger.kernel.org Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Mike Snitzer <snitzer@kernel.org>
|