commit | 828f6148e89ec051c2540400773655c0174ccaa3 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Thu Nov 13 09:19:47 2014 +0300 |
committer | Felipe Balbi <balbi@ti.com> | Tue Nov 18 08:47:44 2014 -0600 |
tree | beb82dfe31dfc867320daabead8e6fd5f8247f80 | |
parent | efed421a94e62a7ddbc76acba4312b70e4be958f [diff] |
usb: gadget: f_hid: use after free in hidg_alloc_inst() We free "opts" on the error path and then dereference it. Fixes: 21a9476a7ba8 ('usb: gadget: hid: add configfs support') Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Felipe Balbi <balbi@ti.com>