Tag: bd2281b85d929af0bd192f05135f70dd05f4fd85

net/rfkill/core.c: Avoid leaving freed data in a list

Author: Julia Lawall <julia@diku.dk> The list_for_each_entry loop can fail, in which case the list element is not removed from the list rfkill_fds. Since this list is not accessed by the loop, the addition of &data->list into the list is just moved after the loop. The sematic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) …

Continue reading