Wireshark-commits: [Wireshark-commits] master d87bce7: capture-wpcap: gracefully exit when has_wpca

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 15 Mar 2020 23:27:39 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=d87bce7c4fc3da44ecea3b1486b34c24d30adbdb
Submitter: "Guy Harris <guy@xxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

d87bce7 by Dario Lombardo (lomato@xxxxxxxxx):

    capture-wpcap: gracefully exit when has_wpcap is false.
    
    Fix rawshark crash.
    
    Bug: 16442
    Change-Id: Id65f160d86a4ab204eedd1369e3ed9fa36f9c9e0
    Reviewed-on: https://code.wireshark.org/review/36445
    Petri-Dish: Guy Harris <guy@xxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  5b4af5b   Remove unwanted newline.
     add  d87bce7   capture-wpcap: gracefully exit when has_wpcap is false.


Summary of changes:
 caputils/capture-wpcap.c | 27 +++++++++++++++++----------
 1 file changed, 17 insertions(+), 10 deletions(-)