lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #36283] PPP struct used on header size computation and


From: Simon Goldschmidt
Subject: [lwip-devel] [bug #36283] PPP struct used on header size computation and not packed
Date: Thu, 03 May 2012 19:00:06 +0000
User-agent: Mozilla/5.0 (iPad; CPU OS 5_1 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9B176 Safari/7534.48.3

Follow-up Comment #4, bug #36283 (project lwip):

> I have actually see this fail. 

OK, I thought so after seeing the 'crash error' item group.

> (int)sizeof(struct pppInputHeader) returns 8 on 32 bits arch with
alignment,

I'm with you on that, of course.

> but pbuf_header(pb, ...) should always be reduced to 6.

That's what I wanted to know: why sold it be 6 when size of is used
everywhere, and not the constant '6'? Anyway, I've fixed it.



    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?36283>

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.nongnu.org/




reply via email to

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