Wireshark-commits: [Wireshark-commits] master c05757f: h264: fix issue found by PVS Studio (V1001)

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 16 May 2018 04:13:55 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=c05757ff355ccc9539a968d96901b3534458fb26
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

c05757f by Alexis La Goutte (alexis.lagoutte@xxxxxxxxx):

    h264: fix issue found by PVS Studio (V1001)
    
    The 'bit_offset' variable is assigned but is not used until the end of the function
    
    Change-Id: Id71b12177b6259decd3db801e9833dd46419bdc4
    Reviewed-on: https://code.wireshark.org/review/27503
    Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
    Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  67c6420   ber: clamp BER lengths to avoid integer overflow
    adds  c05757f   h264: fix issue found by PVS Studio (V1001)


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