Wireshark-commits: [Wireshark-commits] master-2.6 b848dc5: SV: Fix handling data length

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 25 Oct 2018 19:54:00 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=b848dc5064ff891823ec819d25d1cd30577880b4
Submitter: "Pascal Quantin <pascal.quantin@xxxxxxxxx>"
Changed: branch: master-2.6
Repository: wireshark

Commits:

b848dc5 by Uli Heilmeier (uh@xxxxxxxxxxxx):

    SV: Fix handling data length
    
    Read not more data than protocol length defines.
    
    Bug: 15224
    Change-Id: I90e003c231fe75686065f8c44f70b5bb1df472c9
    Reviewed-on: https://code.wireshark.org/review/30377
    Petri-Dish: Anders Broman <a.broman58@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    (cherry picked from commit 7bfc49fbc07c59cd6573388981e37bd52b3106a8)
    Reviewed-on: https://code.wireshark.org/review/30381
    Reviewed-by: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    

Actions performed:

    from  e256af8   ISUP: fix offset for Generic name
     add  b848dc5   SV: Fix handling data length


Summary of changes:
 epan/dissectors/asn1/sv/packet-sv-template.c | 5 +++--
 epan/dissectors/packet-sv.c                  | 9 +++++----
 2 files changed, 8 insertions(+), 6 deletions(-)