Wireshark-commits: [Wireshark-commits] master e281ca6: HTTP2: prevent a segmentation fault if HTTP2
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 13 Jun 2018 12:32:57 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=e281ca6f83560a24ac1d490dcca9fe49b03bbdcd
Submitter: Pascal Quantin (pascal.quantin@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

e281ca6 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>
    

Actions performed:

    from  94bf85a   ENIP: Pull out CPF items to separate functions
    adds  e281ca6   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(-)