diff fuzzer-preauth.c @ 1383:f03cfe9c76ac fuzz

Disable setnonblocking(), get_socket_address(), set_sock_priority() for fuzzing
author Matt Johnston <matt@ucc.asn.au>
date Fri, 26 May 2017 22:10:51 +0800
parents 7209a6e30932
children ecdd4e8ae427
line wrap: on
line diff
--- a/fuzzer-preauth.c	Fri May 26 22:09:30 2017 +0800
+++ b/fuzzer-preauth.c	Fri May 26 22:10:51 2017 +0800
@@ -36,7 +36,7 @@
     uint32_t wrapseed = buf_getint(fuzz.input);
     wrapfd_setseed(wrapseed);
 
-	int fakesock = 1;
+	int fakesock = 20;
 	wrapfd_add(fakesock, fuzz.input, PLAIN);
 
 	m_malloc_set_epoch(1);