Wireshark-commits: [Wireshark-commits] master f0b35ee: ieee1905: prematurely return if addresses ar
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 14 Jul 2020 15:17:43 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=f0b35ee9b374e130c03aeb3e24ae6e81e10be8ab
Submitter: "Dario Lombardo <lomato@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

f0b35ee by Dario Lombardo (lomato@xxxxxxxxx):

    ieee1905: prematurely return if addresses are not defined.
    
    Some packets (as the ones generated by oss-fuzz) can reach the
    reassembly code without pinfo->src/dst defined. We need to prematurely
    exit in those cases and handle the reassembly code accordingly.
    
    Bug: 16696
    Change-Id: I6d0c6c95ba8123879e9c9e3e06bfc139425d9ddd
    Reviewed-on: https://code.wireshark.org/review/37859
    Petri-Dish: Dario Lombardo <lomato@xxxxxxxxx>
    Reviewed-by: Richard Sharpe <realrichardsharpe@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    

Actions performed:

    from  fe8d996   xcsl: fix an off-by-one in premature exit.
     add  f0b35ee   ieee1905: prematurely return if addresses are not defined.


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