Re: [PATCH] usb: core: Fix possible memleak in usb_add_gadget

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 9/5/21 6:27 PM, Greg KH wrote:
On Sun, Sep 05, 2021 at 05:16:36PM +0200, Florian Faber wrote:
This 'leak' was found by Klocwork and seemed plausible at first oversight.
Sorry for wasting your time and not checking it further.

What is "Klockwork"?

Some static code analysis tool. I did not know it either.

How can it miss the reference counted logic that
all drivers use in the kernel?

Obviously it is not running like clockwork :)

Anyway, got the problem fixed, sorry for the noise.


Flo
--
Machines can do the work, so people have time to think.



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux