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

Date: Wed, 29 Dec 2010 19:40:38 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=35297

User: guy
Date: 2010/12/29 11:40 AM

Log:
 Fix incomplete conversion from an on-the-stack buffer to an ep_allocated
 buffer - the size of the latter can't be found with sizeof, as all you
 have is a pointer to the buffer.  sizeof (pointer) happened, by chance,
 to give the right answer on ILP32 platforms, but gave a too-big answer
 on LP64 and LLP64 platforms, which meant we overflowed the buffer when
 clearing it.

Directory: /trunk/epan/dissectors/
  Changes    Path              Action
  +1 -1      packet-bootp.c    Modified