diff options
| author | Sean Young <[email protected]> | 2016-11-26 19:31:24 -0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2016-12-01 12:46:00 -0200 |
| commit | b40769ee2ed09ed6c6da33b0cbdf423ff94f685b (patch) | |
| tree | 1cde9fd2230e29b051db457b9b6b47f4ae130658 /drivers/fpga/socfpga.c | |
| parent | 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 <[email protected]>
Signed-off-by: Sean Young <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'drivers/fpga/socfpga.c')
0 files changed, 0 insertions, 0 deletions