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-- 373 bytes
Makefile -rw-r--r-- 128 bytes
dir.c -rw-r--r-- 11.6 KB
file.c -rw-r--r-- 10.3 KB
shfl_hostintf.h -rw-r--r-- 22.0 KB
super.c -rw-r--r-- 11.5 KB
utils.c -rw-r--r-- 12.7 KB
vboxsf_wrappers.c -rw-r--r-- 10.9 KB
vfsmod.h -rw-r--r-- 4.5 KB

back to top