URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=9169aef3f15acd9f2a33769d4845fdeef231fd0a
Submitter: Pascal Quantin (pascal.quantin@xxxxxxxxx)
Changed: branch: master-2.6
Repository: wireshark
Commits:
9169aef by Pascal Quantin (pascal.quantin@xxxxxxxxx):
HTTP2: prevent a segmentation fault if HTTP2 dissector was not called on first pass
With HTTP2 heuristics to identify the conversation, a packet can be
skipped on first pass and then decoded as HTTP2 on subsequent ones.
Check that header data is available before attempting header
decompression.
Bug: 14869
Change-Id: I8ef7669ca33835b509acb38d797e33d6167a1bd1
Reviewed-on: https://code.wireshark.org/review/28257
Petri-Dish: Pascal Quantin <pascal.quantin@xxxxxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Pascal Quantin <pascal.quantin@xxxxxxxxx>
(cherry picked from commit e281ca6f83560a24ac1d490dcca9fe49b03bbdcd)
Reviewed-on: https://code.wireshark.org/review/28259
Actions performed:
from cfb8dcc Make sure *both* sides are unsigned.
adds 9169aef HTTP2: prevent a segmentation fault if HTTP2 dissector was not called on first pass
Summary of changes:
epan/dissectors/packet-http2.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)