#13185: [Patch] add-ons/kernel/drivers/common/usb_modeswitch.cpp: fix use after
free.
-------------------------+------------------------------
Reporter: mt | Owner: mmlr
Type: bug | Status: new
Priority: normal | Milestone: Unscheduled
Component: Drivers/USB | Version: R1/Development
Keywords: | Blocked By:
Blocking: | Has a Patch: 0
Platform: All |
-------------------------+------------------------------
At line 538 [1], my_device_added() uses address which is freed at line 537
[2].
[1] http://cgit.haiku-os.org/haiku/tree/src/add-
ons/kernel/drivers/common/usb_modeswitch.cpp#n538
[2] http://cgit.haiku-os.org/haiku/tree/src/add-
ons/kernel/drivers/common/usb_modeswitch.cpp#n537
--
Ticket URL: <https://dev.haiku-os.org/ticket/13185>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.