Wireshark-commits: [Wireshark-commits] rev 46747: /trunk/epan/dissectors/ /trunk/epan/dissectors/:
Date: Tue, 25 Dec 2012 23:14:05 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=46747

User: guy
Date: 2012/12/25 03:14 PM

Log:
 bssmap_msg_fcn[] is a dense array, not a sparse array, so *every* entry
 must be filled in - even if we don't happen to have dissectors for
 particular message types.  Just put NULL in there, so we don't index
 past the end of the array, grab a random location in memory's contents
 as a function pointer, and crash when we call through that pointer.

Directory: /trunk/epan/dissectors/
  Changes    Path                     Action
  +7 -6      packet-gsm_a_bssmap.c    Modified