Wireshark-commits: [Wireshark-commits] master 567fe96: extcap: set G_REGEX_RAW to avoid potential c

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 10 Feb 2019 16:12:53 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=567fe966b1ca9a4c00f9989de9a38cfe8ebfbd14
Submitter: "Peter Wu <peter@xxxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

567fe96 by Peter Wu (peter@xxxxxxxxxxxxx):

    extcap: set G_REGEX_RAW to avoid potential crashes
    
    None of the patterns try to match UTF-8 text. Treat the inputs as bytes
    to avoid potential crashes on invalid subjects (e.g. malformed data from
    an extcap binary, ADB or SSH server).
    
    Change-Id: I6f3113cfd9da04ae3fa2b0ece7b0a3a94312830e
    Ping-Bug: 14905
    Reviewed-on: https://code.wireshark.org/review/31939
    Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
    

Actions performed:

    from  80587eb   logcat-text: set G_REGEX_RAW to fix potential crashes
     add  567fe96   extcap: set G_REGEX_RAW to avoid potential crashes


Summary of changes:
 extcap.c             |  8 ++++----
 extcap/androiddump.c |  6 +++---
 extcap/ciscodump.c   |  2 +-
 extcap_parser.c      | 28 +++++++++++++++++-----------
 4 files changed, 25 insertions(+), 19 deletions(-)