Wireshark-commits: [Wireshark-commits] master 930f5b5: Bluetooth: OBEX: Fix crash when there is no

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 18 May 2015 12:03:15 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=930f5b5402696f34c468e6095c09876ca823e377
Submitter: Michael Mann (mmann78@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

930f5b5 by Michal Labedzki (michal.labedzki@xxxxxxxxx):

    Bluetooth: OBEX: Fix crash when there is no Type/Name header in request
    
    Not all requests have them, so check for them to avoid crash.
    
    Change-Id: I265fb8ad9f63132bee6eeb1aa521cae8b8df82b9
    Reviewed-on: https://code.wireshark.org/review/8521
    Reviewed-by: Michal Orynicz <michal.orynicz@xxxxxxxxx>
    Petri-Dish: Michael Mann <mmann78@xxxxxxxxxxxx>
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    

Actions performed:

    from  9b99bdb   IPDR: Fix Dead Store (Dead assignement/Dead increment) warning found by Clang
    adds  930f5b5   Bluetooth: OBEX: Fix crash when there is no Type/Name header in request


Summary of changes:
 epan/dissectors/packet-btobex.c |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)