URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=434fe44cdec8755204d7462f5293cdf1b9493a0b
Submitter: Balint Reczey (balint@xxxxxxxxxxxxxxx)
Changed: branch: lts-1.12.1
Repository: wireshark
Commits:
434fe44 by Pascal Quantin (pascal.quantin@xxxxxxxxx):
WBXML: add a basic sanity check for offset overflow
This is a naive approach allowing to detact that something went wrong,
without the need to replace all proto_tree_add_text() calls as what was
done in master-2.0 branch.
Bug: 12408
Change-Id: Ia14905005e17ae322c2fc639ad5e491fa08b0108
Reviewed-on: https://code.wireshark.org/review/15310
Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
Reviewed-by: Pascal Quantin <pascal.quantin@xxxxxxxxx>
(cherry picked from commit b8e0d416898bb975a02c1b55883342edc5b4c9c0)
Reviewed-on: https://code.wireshark.org/review/16117
Reviewed-by: Balint Reczey <balint@xxxxxxxxxxxxxxx>
Actions performed:
from db941b2 Don't treat the packet length as unsigned.
adds 434fe44 WBXML: add a basic sanity check for offset overflow
Summary of changes:
epan/dissectors/packet-wbxml.c | 28 ++++++++++++++++++++++++----
1 file changed, 24 insertions(+), 4 deletions(-)