Wireshark-commits: [Wireshark-commits] master-2.4 e66cff7: For the contains operator, both sides ha
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 17 Jun 2018 22:03:38 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=e66cff7c9961cc0a03096ae84804385100f68d58
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-2.4
Repository: wireshark

Commits:

e66cff7 by Guy Harris (guy@xxxxxxxxxxxx):

    For the contains operator, both sides have to have the same type.
    
    Have charconst_to_bytes() take the desired type as an argument, and pass
    it to dfilter_fvalue_from_unparsed().
    
    Bug: 14084
    Change-Id: I11db417311b9681b18c4a3fca2862b35837194d7
    Reviewed-on: https://code.wireshark.org/review/28315
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    (cherry picked from commit 078a53f9942e4092d4d18344fa758ab47be39335)
    Reviewed-on: https://code.wireshark.org/review/28317
    

Actions performed:

    from  6ee3d1b   character constant in dfilter now must fit into one byte
    adds  e66cff7   For the contains operator, both sides have to have the same type.


Summary of changes:
 epan/dfilter/semcheck.c | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)