ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Wireshark-bugs: [Wireshark-bugs] [Bug 7675] Bluetooth: Add AVCTP dissector

Date: Thu, 18 Oct 2012 23:35:19 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7675

Michal Labedzki <michal.labedzki@xxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #9378|                            |review_for_checkin?
              Flags|                            |

--- Comment #19 from Michal Labedzki <michal.labedzki@xxxxxxxxx> 2012-10-18 23:35:16 PDT ---
Created attachment 9378
  --> https://bugs.wireshark.org/bugzilla/attachment.cgi?id=9378
[PATCH] Bluetooth: Fix improper use of negative value in AVCTP

(In reply to comment #18)
> If the offset is out of bounds, both tvb_length_remaining() and 
> tvb_reported_length_remaining() return -1.  The code needs to be able to handle
> this.  Detected by Coverity and reported as CID 728015: Improper use of
> negative value.

Thanks for the prompt. Attached patch should fix it.

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.