Wireshark-commits: [Wireshark-commits] master 3b644a7: Fix various off-by-one in buffer sizes

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sat, 20 Feb 2016 15:18:19 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=3b644a75c9530b8fc60e2fa964dfb2ae327e240d
Submitter: Peter Wu (peter@xxxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

3b644a7 by Peter Wu (peter@xxxxxxxxxxxxx):

    Fix various off-by-one in buffer sizes
    
    Some only allow buffer overruns (read), others also buffer overflows
    (write).
    
    Found by looking for '\[ *N *\]' where N is 255, 0xff, 15 and 0xf (case
    insensitive).
    
    Change-Id: I250687e2fdeb8fbd5eaf0bbb8251c3dab9640760
    Reviewed-on: https://code.wireshark.org/review/14034
    Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
    

Actions performed:

    from  55b5b7c   ber: fix buffer overrun when handling empty sets
    adds  3b644a7   Fix various off-by-one in buffer sizes


Summary of changes:
 epan/dissectors/packet-q2931.c |    2 +-
 epan/dissectors/packet-q931.c  |    2 +-
 epan/dissectors/packet-q933.c  |    2 +-
 ui/cli/tap-gsm_astat.c         |   20 ++++++++++----------
 wiretap/catapult_dct2000.c     |    2 +-
 5 files changed, 14 insertions(+), 14 deletions(-)