Wireshark-commits: [Wireshark-commits] master 5aba3ed: dcerpc: ensure the length in the packet does

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 18 Mar 2019 12:17:37 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=5aba3ed0cdebc1ec960261e3e9eda87c8408259f
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

5aba3ed 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>
    

Actions performed:

    from  ae086bf   pcep: fix field type.
     add  5aba3ed   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(+)