Wireshark-commits: [Wireshark-commits] master-1.10 0966d7d: Don't check the same character twice in

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 28 Dec 2014 10:20:32 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=0966d7d6d2a3691a7c7cf5f7df5fd79bab06cc4c
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-1.10
Repository: wireshark

Commits:

0966d7d by Guy Harris (guy@xxxxxxxxxxxx):

    Don't check the same character twice in a row, check it and the next character.
    
    Fixes Coverity CID 1260460.
    
    Change-Id: Ic9ed109a863bcf20a5e67e4f52d628011f5e9ba5
    Reviewed-on: https://code.wireshark.org/review/6087
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    (cherry picked from commit 120628e5f478a4ee767f87c2b408edb0ed5224ba)
    Reviewed-on: https://code.wireshark.org/review/6089
    

Actions performed:

    from  677d667   RSVP: RECORD_ROUTE IPv4 Subobject Flags field incorrect decoding
    adds  0966d7d   Don't check the same character twice in a row, check it and the next character.


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