Wireshark-commits: [Wireshark-commits] master-2.0 363dc72: GSM CBCH: fix an out of bounds access

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 29 Mar 2016 06:41:52 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=363dc721e35414618d2334996ae0b41950355e41
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master-2.0
Repository: wireshark

Commits:

363dc72 by Pascal Quantin (pascal.quantin@xxxxxxxxx):

    GSM CBCH: fix an out of bounds access
    
    As explained by Guy, we should use new_slots[i] and not new_slots[k]
    
    Bug: 12278
    Change-Id: Ifae44f9d5948bed5c4ee0442510724016e307dee
    Reviewed-on: https://code.wireshark.org/review/14678
    Reviewed-by: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    Petri-Dish: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    (cherry picked from commit 0fe522dfc689c3ebd119f2a6775d1f275c5f04d8)
    Reviewed-on: https://code.wireshark.org/review/14690
    

Actions performed:

    from  b25d52c   configure: fix non-POSIX test
    adds  363dc72   GSM CBCH: fix an out of bounds access


Summary of changes:
 epan/dissectors/packet-gsm_cbch.c |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)