Wireshark-commits: [Wireshark-commits] master ac747a3: Bluetooth: BTLE: Fix data handling from prev

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 18 May 2015 07:09:58 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=ac747a3a5d1f2fb442de2d84ba121352b568292a
Submitter: Michal Labedzki (michal.labedzki@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

ac747a3 by Michal Labedzki (michal.labedzki@xxxxxxxxx):

    Bluetooth: BTLE: Fix data handling from previous dissector
    
    Check previous dissector before cast data parameter.
    That also causes Head overflow too.
    
    Change-Id: I8f6ce2ec183e4c757613fd7e1959d9d0e4cfc89e
    Reviewed-on: https://code.wireshark.org/review/8512
    Reviewed-by: Michal Labedzki <michal.labedzki@xxxxxxxxx>
    

Actions performed:

    from  a0569ac   Bluetooth: Remove duplicates by default for ATT Server Attributes dialog
    adds  ac747a3   Bluetooth: BTLE: Fix data handling from previous dissector


Summary of changes:
 epan/dissectors/packet-btle.c |   29 ++++++++++++++++++++++++-----
 1 file changed, 24 insertions(+), 5 deletions(-)