Tag: 62bdbb735c0415c2ffdddc2269a860a76f7f716a

V4L/DVB: drivers/media: Correct NULL test

Author: Julia Lawall <julia@diku.dk> In each case, the NULL test has been performed already. A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // @r@ expression *x; expression e; identifier l; @@ if (x == NULL || …) { … when forall return …; } … when != goto …

Continue reading