Wireshark-commits: [Wireshark-commits] master-2.4 af59431: FCP: Add NULL check to prevent crash.

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 07 Feb 2018 04:11:49 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=af5943168b3be97f4661da8f763a8d26634a69ee
Submitter: Michael Mann (mmann78@xxxxxxxxxxxx)
Changed: branch: master-2.4
Repository: wireshark

Commits:

af59431 by Michael Mann (mmann78@xxxxxxxxxxxx):

    FCP: Add NULL check to prevent crash.
    
    Fragmented FCP may not be called on the first pass, so add a NULL
    check for proto_data that may not be there.
    
    Bug: 14374
    Change-Id: Icbbee8f0eb3a33655323283dbb5a01c350d784dc
    Reviewed-on: https://code.wireshark.org/review/25649
    Petri-Dish: Michael Mann <mmann78@xxxxxxxxxxxx>
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    (cherry picked from commit f4f44caa3525bb382f903f3abda387ccc0cad806)
    Reviewed-on: https://code.wireshark.org/review/25653
    Tested-by: Petri Dish Buildbot
    

Actions performed:

    from  81ccf4f   Don't assume all packets have time stamps.
    adds  af59431   FCP: Add NULL check to prevent crash.


Summary of changes:
 epan/dissectors/packet-fcp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)