Wireshark-commits: [Wireshark-commits] master-1.12 9ac318b: Use proper operator to find odd number
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 19 Apr 2016 01:41:36 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=9ac318b2ed0d59e8be6928b1584139e9d5cd46fc
Submitter: Michael Mann (mmann78@xxxxxxxxxxxx)
Changed: branch: master-1.12
Repository: wireshark

Commits:

9ac318b by Jaap Keuter (jaap.keuter@xxxxxxxxx):

    Use proper operator to find odd number (CID-1355647)
    
    Use binary AND instead of modulus operator to find odd number.
    
    Change-Id: I8eb819593ead66381cbe46997aab9d31955bad0c
    Reviewed-on: https://code.wireshark.org/review/14993
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    (cherry picked from commit 7f1d08585468facfc68c91d4f7e6783c7b5b60c3)
    Reviewed-on: https://code.wireshark.org/review/15000
    

Actions performed:

    from  3b46c8a   RTP: fix decoding of padding in RFC 585 header extension
    adds  9ac318b   Use proper operator to find odd number (CID-1355647)


Summary of changes:
 epan/dissectors/packet-smb.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)