Wireshark-commits: [Wireshark-commits] master-2.4 eafdcfa: dcerpc: ensure the length in the packet
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 05 Apr 2019 22:23:58 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=eafdcfa4b6d5187a5326442a82608ab03d9dddcb
Submitter: "Gerald Combs <gerald@xxxxxxxxxxxxx>"
Changed: branch: master-2.4
Repository: wireshark

Commits:

eafdcfa by Dario Lombardo (lomato@xxxxxxxxx):

    dcerpc: ensure the length in the packet doesn't overcome the boundaries.
    
    The spoolss dissector creates a new source using the length from the packet
    data. If it overcomes the ends of the packet we hit a crash. In this case
    add an expert info and stop the dissection
    
    Bug: 15568
    Change-Id: Idfb0b54c1f41842170d3d03c80897a3b7edc9400
    Reviewed-on: https://code.wireshark.org/review/32449
    Petri-Dish: Anders Broman <a.broman58@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    (cherry picked from commit 5aba3ed0cdebc1ec960261e3e9eda87c8408259f)
    Reviewed-on: https://code.wireshark.org/review/32750
    Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
    

Actions performed:

    from  1132941   Prep for 2.4.14.
     add  eafdcfa   dcerpc: ensure the length in the packet doesn't overcome the boundaries.


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