Wireshark-commits: [Wireshark-commits] master-2.4 b214ff6: tvb_get_guintvar: don't overflow our ret
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=b214ff6f937183f710b7414e9d497fcd154ba9c8
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-2.4
Repository: wireshark
Commits:
b214ff6 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>
(cherry picked from commit b475758123fde5fae476cd275958ac16d8eac7bd)
Reviewed-on: https://code.wireshark.org/review/27988
Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
Actions performed:
from 9869b0e [Automatic update for 2018-06-03]
adds b214ff6 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(-)