Wireshark-commits: [Wireshark-commits] rev 43880: /trunk/epan/dissectors/ /trunk/epan/dissectors/:

Date: Sat, 21 Jul 2012 01:24:55 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=43880

User: guy
Date: 2012/07/20 06:24 PM

Log:
 The 32-bit-key tree code assumes that the pointer to the key can be cast
 to a pointer to a guint32 and dereferenced.  On some platforms, such as
 SPARC, this requires that the pointer be aligned on a 4-byte boundary;
 there is no guarantee that the data field of an address structure is
 aligned on a 4-byte boundary, so allocate a buffer for a copy of that
 data and copy the data into it, and free it when we're done with it.
 
 Should fix bug 7501.

Directory: /trunk/epan/dissectors/
  Changes    Path                       Action
  +5 -2      packet-reload-framing.c    Modified