commit | 1826e9b1bd9139850954acb9c2e0fb230ba94e0d | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Fri Aug 23 11:14:49 2013 +0300 |
committer | Felipe Balbi <balbi@ti.com> | Tue Aug 27 15:03:28 2013 -0500 |
tree | 8d5b125b22ea01d125ab716f89583c7a769679a1 | |
parent | c078a37652477e1b08318df8fe403e02cac5138d [diff] |
usb: gadget: gadgetfs: use after free in dev_release() The call to put_dev() releases "dev". Hopefully, we don't need to set the state to STATE_DEV_DISABLED anyway so I have removed those lines. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Felipe Balbi <balbi@ti.com>