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
Makefile -rw-r--r-- 381 bytes
clnt4xdr.c -rw-r--r-- 12.9 KB
clntlock.c -rw-r--r-- 7.5 KB
clntproc.c -rw-r--r-- 21.7 KB
clntxdr.c -rw-r--r-- 13.2 KB
host.c -rw-r--r-- 17.5 KB
mon.c -rw-r--r-- 14.4 KB
netns.h -rw-r--r-- 395 bytes
procfs.c -rw-r--r-- 1.9 KB
procfs.h -rw-r--r-- 474 bytes
svc.c -rw-r--r-- 20.5 KB
svc4proc.c -rw-r--r-- 18.7 KB
svclock.c -rw-r--r-- 27.0 KB
svcproc.c -rw-r--r-- 19.5 KB
svcshare.c -rw-r--r-- 2.4 KB
svcsubs.c -rw-r--r-- 10.4 KB
svcxdr.h -rw-r--r-- 3.0 KB
xdr.c -rw-r--r-- 7.7 KB
xdr4.c -rw-r--r-- 7.7 KB

back to top