[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-users] Re: [lwip] Bug in pbuf_header() [patch]
From: |
Paul Sheer |
Subject: |
[lwip-users] Re: [lwip] Bug in pbuf_header() [patch] |
Date: |
Wed, 08 Jan 2003 23:48:49 -0000 |
> >
> > + /* If the payload wasn't allocated by lwip, we can't mess with it */
> > + if (p->flags & PBUF_FLAG_ROM)
> > + return -1;
> > +
yes, Duncan, but have you *checked* that all pbuf_header()
callers fail gracefully on receiving a -1 ?
-paul
Paul Sheer Consulting IT Services . . Tel . . . +27 (0)21 6869634
Email . . . address@hidden . . . . . . Pager . . . 088 0057245
Linux development, cryptography, recruitment, support, training
http://www.icon.co.za/~psheer . . . . http://rute.sourceforge.net
L I N U X . . . . . . . . . . . . The Choice of a GNU Generation
[This message was sent through the lwip discussion list.]