Revision 15b7b737deb30e1f8f116a08e723173b55ebd2f3 authored by David Matlack on 13 July 2021, 22:09:56 UTC, committed by Paolo Bonzini on 27 July 2021, 20:58:59 UTC
There is a missing break statement which causes a fallthrough to the
next statement where optarg will be null and a segmentation fault will
be generated.

Fixes: 9e965bb75aae ("KVM: selftests: Add backing src parameter to dirty_log_perf_test")
Reviewed-by: Ben Gardon <bgardon@google.com>
Signed-off-by: David Matlack <dmatlack@google.com>
Message-Id: <20210713220957.3493520-6-dmatlack@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
1 parent 76b4f35
History
File Mode Size
Kconfig -rw-r--r-- 2.3 KB
Makefile -rw-r--r-- 422 bytes
cache.c -rw-r--r-- 10.6 KB
cookie.c -rw-r--r-- 25.2 KB
fsdef.c -rw-r--r-- 2.9 KB
histogram.c -rw-r--r-- 2.2 KB
internal.h -rw-r--r-- 13.7 KB
io.c -rw-r--r-- 3.2 KB
main.c -rw-r--r-- 4.6 KB
netfs.c -rw-r--r-- 1.9 KB
object-list.c -rw-r--r-- 11.3 KB
object.c -rw-r--r-- 32.9 KB
operation.c -rw-r--r-- 17.0 KB
page.c -rw-r--r-- 33.0 KB
proc.c -rw-r--r-- 1.7 KB
stats.c -rw-r--r-- 9.9 KB

back to top