Wireshark-commits: [Wireshark-commits] master-2.0 271b10d: ber: fix buffer overrun when handling em
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sat, 20 Feb 2016 15:07:27 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=271b10def25f81efb352b2f0ccaec3ba2e879273
Submitter: Peter Wu (peter@xxxxxxxxxxxxx)
Changed: branch: master-2.0
Repository: wireshark

Commits:

271b10d by Peter Wu (peter@xxxxxxxxxxxxx):

    ber: fix buffer overrun when handling empty sets
    
    When a set is empty, only a terminator (ber_sequence_t with NULL func)
    is present. In that case, do not try to find more values as that will
    never succeed.
    
    Bug: 12106
    Change-Id: I26cd4ba84a9580e92d5921592a27c2af17c0bebf
    Reviewed-on: https://code.wireshark.org/review/14028
    Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
    (cherry picked from commit 55b5b7caf3ec4856838b0416d5a91d3a3ff67ec8)
    Reviewed-on: https://code.wireshark.org/review/14035
    

Actions performed:

    from  9bc329b   gsm_abis_oml: fix buffer overrun
    adds  271b10d   ber: fix buffer overrun when handling empty sets


Summary of changes:
 epan/dissectors/packet-ber.c |    4 ++++
 1 file changed, 4 insertions(+)