URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=576a4a165177957abc26b7e1c5fe8d75392ba2b8
Submitter: "Peter Wu <peter@xxxxxxxxxxxxx>"
Changed: branch: master-3.0
Repository: wireshark
Commits:
576a4a1 by Peter Wu (peter@xxxxxxxxxxxxx):
proto: fix proto_item_add_bitmask_tree with zero length
packet-frame.c calls proto_item_add_bitmask_tree with a zero length, be
sure not to trigger undefined behavior (right shift by 64). Observed
with the capture from Bug 15247.
Change-Id: I5b5b7f920a37365295603be7b915f51b39d99faf
Fixes: v2.1.0rc0-1776-gb9fb2ceb88 ("Add heuristic dissectors for the variable part of COTP CR and CC PDUs.")
Reviewed-on: https://code.wireshark.org/review/34108
Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
(cherry picked from commit 78cb716071bfa8a636b9268deea096041293f7de)
Reviewed-on: https://code.wireshark.org/review/34126
Actions performed:
from eea6906 doc: document WIRESHARK_CONFIG_DIR
add 576a4a1 proto: fix proto_item_add_bitmask_tree with zero length
Summary of changes:
epan/proto.c | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)