Wireshark-commits: [Wireshark-commits] master-1.10 cdb8710: catapult, irda: Fix ASAN crashes due to
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=cdb8710f75e1c32f1d798ff11d009ed99c437d32
Submitter: Michael Mann (mmann78@xxxxxxxxxxxx)
Changed: branch: master-1.10
Repository: wireshark
Commits:
cdb8710 by Peter Wu (peter@xxxxxxxxxxxxx):
catapult,irda: Fix ASAN crashes due to buffer underrun
The catapult dissector tripped on this random file I had. A quick look
at other dissectors which use a construct like "-1] *= '*\\[rn]" showed
packet-irda too, so fix that as well.
Change-Id: I4b5fadcacd0b09d0fb29bdefc3dd1f28aef9b593
Reviewed-on: https://code.wireshark.org/review/2802
Reviewed-by: Evan Huus <eapache@xxxxxxxxx>
Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
(cherry picked from commit 16f8ba1bed579344df373bf38fff552ab8baf380)
Reviewed-on: https://code.wireshark.org/review/2810
Actions performed:
from a1785a9 Convert tvb_get_ptr buffer access macros to use much safer tvb access macros.
adds cdb8710 catapult,irda: Fix ASAN crashes due to buffer underrun
Summary of changes:
plugins/irda/packet-irda.c | 4 ++--
wiretap/catapult_dct2000.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)