[Top][All Lists]

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

[lwip-devel] [bug #26273] etharp.c : fix alignment issue in etharp_raw

From: Simon Goldschmidt
Subject: [lwip-devel] [bug #26273] etharp.c : fix alignment issue in etharp_raw
Date: Tue, 21 Apr 2009 17:55:41 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; de; rv: Gecko/2009032608 Firefox/3.0.8

Update of bug #26273 (project lwip):

                  Status:                    None => Need Info              


Follow-up Comment #1:

I guess you have copied those lines from autoip.c:419 or etharp.c:667 ? In
these places, it is understandable to use memcpy, since we copy from a
2-byte-aligned struct to a 4-byte-aligned.

However, in your patch it is the other way round: a 4-byte-aligned struct is
casted to a 2-byte-aligned (which is in turn copied). How could that fail?

I don't have that strong an opinion against your patch, (since we already do
it that way in other places), only, I would like to understand why it fails
before changing it.

Someone know the answer?


Reply to this item at:


  Nachricht geschickt von/durch Savannah

reply via email to

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