tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: potential mbuf corruption



On Thu, 2 Dec 2010, Alexander Danilov wrote:

> net/netinet/tcp-input.c
>
> wrong check
>       if (m && tlen > MHLEN) {
> should be
>       if (m && (tlen + max_linkhdr) > MHLEN) {

you are correct and I have fixed it (v1.306), though I'm not sure there
are enough supported options to actually overrun an mbuf?

iain


Home | Main Index | Thread Index | Old Index