lwip-users
[Top][All Lists]
Advanced

[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: Thu, 09 Jan 2003 00:03:00 -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.]




reply via email to

[Prev in Thread] Current Thread [Next in Thread]