commit | cf2113ca563191a9ee5943561827e50ad8cda4e0 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Fri Nov 25 08:28:35 2016 -0200 |
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | Tue Nov 29 12:05:00 2016 -0200 |
tree | 410516aef7ad66be6580a727320d493a7ba42fe7 | |
parent | d3d83ee20afda16ad0133ba00f63c11a8d842a35 [diff] |
[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>