Wireshark-commits: [Wireshark-commits] master 2f1e956: mp2t (CID 1355406): fix a potential integer
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sat, 14 May 2016 09:46:10 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=2f1e9561429775cc4fe713354e33d1cefff97dc4
Submitter: Martin Kaiser (wireshark@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

2f1e956 by Martin Kaiser (wireshark@xxxxxxxxx):

    mp2t (CID 1355406): fix a potential integer overflow
    
    cast one of the factors to uint64 to make sure that the calculation uses
    uint64 and not uint32 which may overflow
    
    Change-Id: Iec14f870a694008f5a734294d9154117b6c64b78
    Reviewed-on: https://code.wireshark.org/review/15346
    Petri-Dish: Jaap Keuter <jaap.keuter@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Martin Kaiser <wireshark@xxxxxxxxx>
    

Actions performed:

    from  a7ba38a   s7comm: fix warning found by clang analyzer
    adds  2f1e956   mp2t (CID 1355406): fix a potential integer overflow


Summary of changes:
 wiretap/mp2t.c |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)