Date: Thu, 8 Feb 2001 20:04:38 -0500 From: "Bosko Milekic" <bmilekic@technokratis.com> To: "Luigi Rizzo" <luigi@FreeBSD.org>, <cvs-committers@FreeBSD.org>, <cvs-all@FreeBSD.org> Subject: Re: cvs commit: src/sys/dev/ed if_ed.c Message-ID: <004301c09234$46ea78a0$1f90c918@jehovah> References: <200102082300.f18N0PJ33884@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Luigi,
Thank you for promptly fixing this!
-Bosko
Luigi Rizzo wrote:
> luigi 2001/02/08 15:00:24 PST
>
> Modified files: (Branch: RELENG_4)
> sys/dev/ed if_ed.c
> Log:
> MFC: fix a serious bug in the ed driver when very short packets
are
> received (with bpf or bridging active). Some code was erroneously
> assuming that the packet contained at least the ethernet header,
> and as a result a negative length was later written into the mbuf
> header, eventually resulting in random panics.
>
> This bug has been reported for some time, but i was never able to
> reproduce it locally because I had the code fixed in my sources
> a couple of weeks ago, and just forgot to commit the fix.
>
> Revision Changes Path
> 1.173.2.10 +12 -6 src/sys/dev/ed/if_ed.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?004301c09234$46ea78a0$1f90c918>
