From: Guido Vranken Date: Fri, 23 Jun 2017 15:34:59 +0000 (+0200) Subject: Disable check in mss.c to speed up fuzzing X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d71829d3d1067b69f767dd72b923aad79646f917;p=thirdparty%2Fopenvpn.git Disable check in mss.c to speed up fuzzing --- 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