Wireshark-commits: [Wireshark-commits] master 2946575: Fix infinite loop.
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 09 May 2018 03:38:31 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=29465751994416552d859bc1be051b5dae48ae0a
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

2946575 by Guy Harris (guy@xxxxxxxxxxxx):

    Fix infinite loop.
    
    If a variable is a count of items, and we're looping while the count is
    non-zero, we need to decrement it after every item we process.
    
    Fixes Coverity CID 1435501.
    
    Change-Id: Iabb0cb6276d4bcf4b1bdea9ec3ba943dac1b9938
    Reviewed-on: https://code.wireshark.org/review/27402
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  c1deca1   smb: fix memleak in export objects
    adds  2946575   Fix infinite loop.


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