[Cocci] [PATCH v2] coccinelle: api: check for propagation of error from platform_get_irq

SF Markus Elfring elfring at users.sourceforge.net
Sun Dec 27 08:24:02 PST 2015


>> https://cwe.mitre.org/data/definitions/252.html
> 
> The value is not unchecked.

Would you like to express any stronger relationship between
the function call example and the occurrence of an if statement
by the discussed SmPL script?


> I made a specific rule because the specific problem is quite common.

Can it become also interesting to generalise this search pattern?

Regards,
Markus


More information about the dri-devel mailing list