Wireshark-commits: [Wireshark-commits] master 69b41e4: Qt: Ensure only valid input for DisplayFilte

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 06 Nov 2019 19:19:46 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=69b41e4d1ef3ae63470a2feea3b674cb024e0a4d
Submitter: "Roland Knall <rknall@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

69b41e4 by Roland Knall (rknall@xxxxxxxxx):

    Qt: Ensure only valid input for DisplayFilter
    
    Allow only valid inputs to be given for the name of a DisplayFilter.
    Specifically adding a quotation mark is not allowed
    
    Change-Id: I10454a2d23db1e0ef08148571d2762a3285e5ab8
    Reviewed-on: https://code.wireshark.org/review/35006
    Petri-Dish: Roland Knall <rknall@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Roland Knall <rknall@xxxxxxxxx>
    

Actions performed:

    from  8bfe73e   SMB2: Use defines for dialect values
     add  69b41e4   Qt: Ensure only valid input for DisplayFilter


Summary of changes:
 ui/qt/filter_dialog.cpp            | 32 +++++++++++++++++++-------------
 ui/qt/filter_dialog.h              | 11 +++++++++--
 ui/qt/models/filter_list_model.cpp |  5 ++++-
 3 files changed, 32 insertions(+), 16 deletions(-)