Skip to content
Commit 4f7918fd authored by Mayank Rana's avatar Mayank Rana
Browse files

usb: f_gsi: Use required RNDIS IAD descriptors with full speed descriptors



gsi_eth_fs_function is array of pointers to set of RNDIS interface
related descriptors. gsi_eth_fs_function's first descriptor is
pointing itself instead of required RNDIS IAD descriptor. This
results into out-of-bound read access while copying these set of
descriptors with usb_copy_descriptors() API. Fix this issue by
using required RNDIS IAD descriptor here.

Change-Id: Ic604221febc43eb8a22d8de99fb8cead74e13b41
Signed-off-by: default avatarMayank Rana <mrana@codeaurora.org>
parent 6628ed00
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment