Wireshark-commits: [Wireshark-commits] master 1957673: fuzz: Fix assertion failed: (fuzz_handle !=

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 21 Oct 2018 11:47:57 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=1957673703fb5e5865bfc4412393e20302569392
Submitter: "Peter Wu <peter@xxxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

1957673 by Peter Wu (peter@xxxxxxxxxxxxx):

    fuzz: Fix assertion failed: (fuzz_handle != NULL) for fuzzshark_ip
    
    If no dissector is defined, the macro should not be defined either.
    
    Change-Id: If9c24d2b223e93f1d42f8a7444fd019aad4c5c1d
    Fixes: v2.9.0rc0-2266-g7e88bb5e53 ("fuzzshark: integrate oss-fuzz targets in CMake")
    Reviewed-on: https://code.wireshark.org/review/30299
    Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
    

Actions performed:

    from  9f74af2   lemon: fix GCC/Clang warnings pre CMake 3.11, silence VSCA warnings
     add  1957673   fuzz: Fix assertion failed: (fuzz_handle != NULL) for fuzzshark_ip


Summary of changes:
 fuzz/CMakeLists.txt | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)