Re: [cocci] Looking at guard usage (with SmPL)

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

 



> Is there a way to look for functions that have a lock, followed by unlocks on
> multiple error paths?

Probably, yes.
https://cwe.mitre.org/data/definitions/667.html


> IMHO the nicest thing with guard is simplifying lots of error paths, and
> innevitably someone forgets to unlock in one of them.

Would you like to improve the support anyhow for more complete and succinct
resource management in affected software areas?

Regards,
Markus




[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux