view fuzz/fuzzer-client.c @ 1804:f0cd000f3bca

Prevent multiple shells being spawned Existing shells would be leaked. The old check only caught multiple commands, not shells.
author Matt Johnston <matt@ucc.asn.au>
date Sat, 06 Mar 2021 23:06:43 +0800
parents d5680e12ac33
children
line wrap: on
line source

#include "fuzz.h"

int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
	return fuzz_run_client(Data, Size, 0);
}