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

SF Markus Elfring
2015-12-27T16:24:36Z

>> 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