[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [patch #7264] protocols are rejected incorrectly on big end
[lwip-devel] [patch #7264] protocols are rejected incorrectly on big endian architectures
Sun, 01 Aug 2010 11:15:51 +0000
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:126.96.36.199) Gecko/20100722 Firefox/3.6.8
Update of patch #7264 (project lwip):
Status: Need Info => Done
Assigned to: None => goldsimon
Open/Closed: Open => Closed
Follow-up Comment #3:
Ah, well, I just discovered my mistake: I thought that the protocol was to be
copied to the same memory where it is read from at the top of the function,
however, that's not the case as the struct has a padding of 2 on platforms
where 'int' is 4 bytes and which need 4-byte alignment.
So we either would need to pack the struct pppInputHeader to make the code
work like the original author meant it to work or just apply your patch, which
is what I jsut did.
Thanks for reporting.
Reply to this item at:
Nachricht geschickt von/durch Savannah
|[Prev in Thread]
||[Next in Thread]|
- [lwip-devel] [patch #7264] protocols are rejected incorrectly on big endian architectures,
Simon Goldschmidt <=