http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=46794
User: guy
Date: 2012/12/26 02:08 PM
Log:
Copy over revisions from the trunk:
------------------------------------------------------------------------
r46793 | guy | 2012-12-26 14:05:41 -0800 (Wed, 26 Dec 2012) | 2 lines
Do array bounds checking.
------------------------------------------------------------------------
r46747 | guy | 2012-12-25 15:14:05 -0800 (Tue, 25 Dec 2012) | 6 lines
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-1.8/epan/dissectors/
Changes Path Action
+15 -4 packet-gsm_a_bssmap.c Modified