aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/capture_preferences_frame.cpp
diff options
context:
space:
mode:
authorJaap Keuter <jaap.keuter@xs4all.nl>2019-05-13 20:29:18 +0200
committerPeter Wu <peter@lekensteyn.nl>2019-05-15 21:45:14 +0000
commit1573d4ddb2d0ff4dfa5b41f91f5620f1c7dd475f (patch)
tree56f18a47d6d44851ddfb15e3701ff6ebca70ce1f /ui/qt/capture_preferences_frame.cpp
parent80920b0855cf0ae0cbb9e11d637a8dc5242e4b31 (diff)
SCTP: assure size before attempting checksum calculation
When checksum calculations are performed (irrespective of type) the calculation is assumed to be possible on at least a common header and optionally a payload. This assumption was not checked, which could lead to out of bound access of packet buffer data. Simply adding the assurance that enough buffer data is available avoids this out of bound access. CID 1439698 Change-Id: I5fec69b96b1064ffdda11f51b882fe5775844475 Reviewed-on: https://code.wireshark.org/review/33185 Petri-Dish: Jaap Keuter <jaap.keuter@xs4all.nl> Tested-by: Petri Dish Buildbot Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Diffstat (limited to 'ui/qt/capture_preferences_frame.cpp')
0 files changed, 0 insertions, 0 deletions