diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2016-11-25 08:28:35 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-11-29 12:05:00 -0200 |
commit | cf2113ca563191a9ee5943561827e50ad8cda4e0 (patch) | |
tree | 410516aef7ad66be6580a727320d493a7ba42fe7 /drivers/ntb | |
parent | d3d83ee20afda16ad0133ba00f63c11a8d842a35 (diff) | |
download | linux-cf2113ca563191a9ee5943561827e50ad8cda4e0.tar.bz2 |
[media] uvcvideo: freeing an error pointer
A recent cleanup introduced a potential dereference of -EFAULT when we
call kfree(map->menu_info).
Fixes: 4cc5bed1caeb ("[media] uvcvideo: Use memdup_user() rather than duplicating its implementation")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/ntb')
0 files changed, 0 insertions, 0 deletions