Date: Tue, 22 Dec 1998 10:50:44 -0600 (CST) From: John Heyer <john@arnie.jfive.com> To: security@FreeBSD.ORG Subject: Re: CERT CA-98-13, patch needed Message-ID: <Pine.BSF.3.96.981222104359.3134A-100000@snake.supranet.net> In-Reply-To: <199812221221.JAA04130@ns1.sminter.com.ar>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 22 Dec 1998, Fernando Schapachnik wrote: > Just remove the "3D"s from the patch and it will apply. > > Regards. > Here's mine if anybody's too lazy to do it themselves or doesn't know C. I'm running 2.2.5 and the patch was actually around line 465, but it should work regardless. The directory is /usr/src/sys/netinet --- ip_input.c 1998/10/27 09:19:03 1.104 +++ ip_input.c 1998/11/11 21:17:59 1.105 @@ -513,7 +513,7 @@ */ if (ip->ip_off & (IP_MF | IP_OFFMASK | IP_RF)) { if (m->m_flags & M_EXT) { /* XXX */ - if ((m = m_pullup(m, sizeof (struct ip))) == 0) { + if ((m = m_pullup(m, hlen)) == 0) { ipstat.ips_toosmall++; #ifdef IPDIVERT frag_divert_port = 0; -- "Mr. Spock, your mind is incedibly logical and analytical!" "Thank you." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.981222104359.3134A-100000>