From d71829d3d1067b69f767dd72b923aad79646f917 Mon Sep 17 00:00:00 2001 From: Guido Vranken Date: Fri, 23 Jun 2017 17:34:59 +0200 Subject: [PATCH] Disable check in mss.c to speed up fuzzing --- src/openvpn/mss.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/openvpn/mss.c b/src/openvpn/mss.c index c36e00464..414c1d870 100644 --- a/src/openvpn/mss.c +++ b/src/openvpn/mss.c @@ -59,7 +59,9 @@ mss_fixup_ipv4(struct buffer *buf, int maxmss) hlen = OPENVPN_IPH_GET_LEN(pip->version_len); if (pip->protocol == OPENVPN_IPPROTO_TCP +/* This is difficult for the fuzzer to figure out && ntohs(pip->tot_len) == BLEN(buf) +*/ && (ntohs(pip->frag_off) & OPENVPN_IP_OFFMASK) == 0 && hlen <= BLEN(buf) && BLEN(buf) - hlen -- 2.47.2