Wireshark-commits: [Wireshark-commits] master 48237f7: Profinet: Wrong Block Length Dissection Fix

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 16 Jul 2020 08:18:09 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=48237f77aaec85def2200cb16d249fdc38b6eb2a
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

48237f7 by vahapemin (vahapemin44@xxxxxxxxx):

    Profinet: Wrong Block Length Dissection Fix
    
    There were some cases which has zero remaining data
    and it was causing an error.
    Remaining Data length check added.
    
    Change-Id: Ib0132d892e871c0f7980ff297d18c276aee26ba6
    Reviewed-on: https://code.wireshark.org/review/37815
    Petri-Dish: Anders Broman <a.broman58@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  a553356   Qt: Fix 5.15 deprecation warnings
     add  48237f7   Profinet: Wrong Block Length Dissection Fix


Summary of changes:
 plugins/epan/profinet/packet-pn-dcp.c | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)