Wireshark-commits: [Wireshark-commits] master d7f610d: rawshark: fix test to avoid reading beyond e

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 15 Jun 2020 13:56:46 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=d7f610d7769a34d38df63c9e0f24eff3891cf492
Submitter: "Martin Mathieson <martin.r.mathieson@xxxxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

d7f610d by Martin Mathieson (martin.mathieson@xxxxxxxxxxxx):

    rawshark: fix test to avoid reading beyond end of format string
    
    rawshark.c:1347:21: note: opposite inner condition: pos>=len
                if (pos >= len) { /* There should always be a following character */
    
    Change-Id: I2e1c6b3d031db4f658bb579e0c8aba8cac7c5cb5
    Reviewed-on: https://code.wireshark.org/review/37475
    Petri-Dish: Martin Mathieson <martin.r.mathieson@xxxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Martin Mathieson <martin.r.mathieson@xxxxxxxxxxxxxx>
    

Actions performed:

    from  326a436   version_info: fix clang output.
     add  d7f610d   rawshark: fix test to avoid reading beyond end of format string


Summary of changes:
 rawshark.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)