summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions
='/cgit.cgi/linux/net-next.git/commit/?h=nds-private-remove&id=003611334d5592984e319e08c6b66825aca00290'>003611334d5592984e319e08c6b66825aca00290 (diff)
[media] lirc: fix error paths in lirc_cdev_add()
"c77d17c0 [media] lirc: use-after free" introduces two problems: cdev_del() can be called with a NULL argument, and the kobject_put() path will cause a double free. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat