Opened 3 years ago

Closed 3 years ago

#13185 closed bug (fixed)

[Patch] add-ons/kernel/drivers/common/usb_modeswitch.cpp: fix use after free.

Reported by: mt Owned by: mmlr
Priority: normal Milestone: Unscheduled
Component: Drivers/USB Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: yes Platform: All

Description

Attachments (2)

0039-usb_modeswitch.cpp-fix-use-after-free.patch (1.1 KB ) - added by mt 3 years ago.
report-edf6bb.html (113.9 KB ) - added by mt 3 years ago.
Report by Clang Static Analyzer

Download all attachments as: .zip

Change History (5)

comment:1 by mt, 3 years ago

Has a Patch: set

by mt, 3 years ago

Attachment: report-edf6bb.html added

Report by Clang Static Analyzer

comment:2 by korli, 3 years ago

1/ drop the else 2/ "id" isn't a nice name, for instance notifySemId is better.

comment:3 by pulkomandy, 3 years ago

Resolution: fixed
Status: newclosed

Applied in hrev50868, and Korli's suggested changes in hrev50869.

Note: See TracTickets for help on using tickets.