[Top][All Lists]

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

[lwip-devel] [patch #7264] protocols are rejected incorrectly on big end

From: Simon Goldschmidt
Subject: [lwip-devel] [patch #7264] protocols are rejected incorrectly on big endian architectures
Date: Sun, 01 Aug 2010 11:15:51 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv: 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

reply via email to

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