Wireshark-commits: [Wireshark-commits] master 73e401a: extcap: Do not crash on invalid values

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 26 Apr 2019 06:40:12 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=73e401afd22f5d6c25da6addd6ea4b47a781eba1
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

73e401a by Tomasz Moń (desowin@xxxxxxxxx):

    extcap: Do not crash on invalid values
    
    The easiest way to trigger the crash was to forget the {display=...} in the
    extcap config value sentence.
    
    This change fixes the crash by simply ignoring invalid value sentences.
    
    Bug: 15668
    Bug: 15728
    Change-Id: I2f41682460c3e08fa766046949f013247bc0a846
    Reviewed-on: https://code.wireshark.org/review/32984
    Petri-Dish: Anders Broman <a.broman58@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  57c5015   Saving printing preferences from one print window to another
     add  73e401a   extcap: Do not crash on invalid values


Summary of changes:
 extcap_parser.c | 2 ++
 1 file changed, 2 insertions(+)