Tag: ab30f78c0afbb86584144925e25c7ca68ba9a91f

powerpc/pmac/windfarm: Correct potential double free

Author: Julia Lawall <julia@diku.dk> The conditionals were testing different values, but then all freeing the same one, which could result in a double free. A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression x,e; identifier f; iterator I; statement S; @@ *kfree(x); … when != &x …

Continue reading