commit | e8b523758959c1854689d71c7a4686c631e5501c | [log] [tgz] |
---|---|---|
author | Guy Harris <[email protected]> | Sun Feb 21 00:27:00 2010 -0800 |
committer | Guy Harris <[email protected]> | Sun Feb 21 00:27:00 2010 -0800 |
tree | 67d50632c8f8f0410d2a8d227a78709a7aca1ca2 | |
parent | b00042a8ae3656f01e022bf6df1eb761e6323d3d [diff] |
Don't directly fetch multi-byte integers from packets. Use the EXTRACT_ macros to extract multi-byte integral values from packets, rather than just dereferencing pointers into the packet; there is no guarantee that the packet data will be aligned on the right boundary, and there is no guarantee that, if they're not, a direct access will work correctly.