Wireshark-commits: [Wireshark-commits] master 8e96830: LPP: avoid doing an out of bound access in c

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 12 Dec 2014 14:26:09 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=8e96830156bea314207b97315ccebd605317f142
Submitter: Pascal Quantin (pascal.quantin@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

8e96830 by Pascal Quantin (pascal.quantin@xxxxxxxxx):

    LPP: avoid doing an out of bound access in case the PER decoding gives an invalid value
    
    Bug: 10773
    Change-Id: I4fcde84d7be1e42729b6ec0763064e9885951468
    Reviewed-on: https://code.wireshark.org/review/5729
    Reviewed-by: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    

Actions performed:

    from  a2a6e31   Riemann: fix "Decode as" feature
    adds  8e96830   LPP: avoid doing an out of bound access in case the PER decoding gives an invalid value


Summary of changes:
 asn1/lpp/lpp.cnf             |    4 +-
 epan/dissectors/packet-lpp.c |  144 +++++++++++++++++++++---------------------
 2 files changed, 76 insertions(+), 72 deletions(-)