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
Makefile
# SPDX-License-Identifier: GPL-2.0
#
# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
# Enclave lifetime management support for Nitro Enclaves (NE) - ioctl sample
# usage.
.PHONY: all clean
CFLAGS += -Wall
all:
$(CC) $(CFLAGS) -o ne_ioctl_sample ne_ioctl_sample.c -lpthread
clean:
rm -f ne_ioctl_sample
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...