Skip to content
Commit 8763716b authored by Shaun Tancheff's avatar Shaun Tancheff Committed by Greg Kroah-Hartman
Browse files

[PATCH] USB: Gadget RNDIS fix alloc bug. (buffer overflow)



Remote NDIS response to OID_GEN_SUPPORTED_LIST only allocated space
for the data attached to the reply, and not the reply structure
itself. This caused other kmalloc'd memory to be corrupted.

Signed-off-by: default avatarShaun Tancheff <shaun@tancheff.com>
Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent d5ec3349
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment