Tag: 077de1ad5ad8b4e08fd8853ae7e4cc628c1a369b

[ARM] pxa: avoid NULL dereferencing in error handling of ssp.c

Author: Julia Lawall <julia@diku.dk> The assignments of res to the results of the two calls to platform_get_resource make it impossible to use res in the error handling code in the arguments to release_mem_region. The semantic match that finds the former problem is as follows: (http://coccinelle.lip6.fr/) // @r exists@ expression E, E1; identifier f; statement S1,S3; …

Continue reading