Wireshark-commits: [Wireshark-commits] master-3.2 93317cf: log3gpp: invert check with use of offset
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sat, 21 Dec 2019 18:57:46 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=93317cfb88c291c948b2fd09ceeadc5ac896aa1e
Submitter: "Guy Harris <guy@xxxxxxxxxxxx>"
Changed: branch: master-3.2
Repository: wireshark

Commits:

93317cf by Dario Lombardo (lomato@xxxxxxxxx):

    log3gpp: invert check with use of offset.
    
    n is used to address the buffers, but the check condition
    follows its use. Fix the code by inverting the two of them
    
    Bug: 16283
    Change-Id: I7cba868979982946f99cfe787a7b5f86d2db1b70
    Reviewed-on: https://code.wireshark.org/review/35538
    Petri-Dish: Dario Lombardo <lomato@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    (cherry picked from commit 76b18ef6973e50d4b2c51afbdf8e9dcae3dc2746)
    Reviewed-on: https://code.wireshark.org/review/35540
    

Actions performed:

    from  e0a8e2d   Expand the frequency range for the DMG PHY.
     add  93317cf   log3gpp: invert check with use of offset.


Summary of changes:
 wiretap/log3gpp.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)