URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=038cd225bfa54e2a7ade4043118796334920a61e
Submitter: Pascal Quantin (pascal.quantin@xxxxxxxxx)
Changed: branch: master-2.2
Repository: wireshark
Commits:
038cd22 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)
Conflicts:
epan/dissectors/packet-http2.c
Reviewed-on: https://code.wireshark.org/review/28260
(cherry picked from commit 169d271f1f03a5b21d13579995421599a8535def)
Reviewed-on: https://code.wireshark.org/review/28261
Actions performed:
from 014bcb1 Make sure *both* sides are unsigned.
adds 038cd22 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(-)