diff options
| author | Hangyu Hua <[email protected]> | 2022-01-01 01:21:38 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-01-03 14:35:18 +0100 |
| commit | 501e38a5531efbd77d5c73c0ba838a889bfc1d74 (patch) | |
| tree | 0073563c0f545334f19548610230eb723fd2aedf /drivers/platform/surface/aggregator/ssh_parser.c | |
| parent | 89f3594d0de58e8a57d92d497dea9fee3d4b9cda (diff) | |
usb: gadget: clear related members when goto fail
dev->config and dev->hs_config and dev->dev need to be cleaned if
dev_config fails to avoid UAF.
Acked-by: Alan Stern <[email protected]>
Signed-off-by: Hangyu Hua <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/platform/surface/aggregator/ssh_parser.c')
0 files changed, 0 insertions, 0 deletions