diff options
author | Mario Schuknecht <mario.schuknecht@dresearch-fe.de> | 2014-12-16 08:58:57 +0100 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-12-22 17:37:15 +0100 |
commit | b44be2462dbe3e23f0aedff64de52a1e8e47a1cd (patch) | |
tree | 54f07a47cc3430f7c03f3145f47d7db7d9d789b7 /drivers/phy | |
parent | usb: musb: stuff leak of struct usb_hcd (diff) | |
download | linux-b44be2462dbe3e23f0aedff64de52a1e8e47a1cd.tar.xz linux-b44be2462dbe3e23f0aedff64de52a1e8e47a1cd.zip |
usb: gadget: gadgetfs: Free memory allocated by memdup_user()
Commit 3b74c73f8d6f053f422e85fce955b61fb181cfe7 switched over to memdup_user()
in ep_write() function and removed kfree (kbuf).
memdup_user() function allocates memory which is never freed.
Fixes: 3b74c73 (usb: gadget: inode: switch over to memdup_user())
Cc: <stable@vger.kernel.org> # v3.15+
Signed-off-by: Mario Schuknecht <mario.schuknecht@dresearch-fe.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/phy')
0 files changed, 0 insertions, 0 deletions