Wireshark-commits: [Wireshark-commits] master b475758: tvb_get_guintvar: don't overflow our return
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=b475758123fde5fae476cd275958ac16d8eac7bd
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
b475758 by Martin Kaiser (wireshark@xxxxxxxxx):
tvb_get_guintvar: don't overflow our return value
tvb_get_guintvar() returns a guint. If we haven't seen the final byte
after sizeof(guint) bytes, something is wrong. Abort and return 0.
This is the minimum fix for
Bug: 14473
Change-Id: Ibe8a1239c1cbbeec0591c66710416bb56f9f60dc
Reviewed-on: https://code.wireshark.org/review/26242
Reviewed-by: Martin Kaiser <wireshark@xxxxxxxxx>
Petri-Dish: Martin Kaiser <wireshark@xxxxxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
Actions performed:
from b580bdb Add support for new peekremote features.
adds b475758 tvb_get_guintvar: don't overflow our return value
Summary of changes:
epan/dissectors/packet-wap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)