Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 08a1fd86 authored by Mayank Rana's avatar Mayank Rana
Browse files

USB: android: set use_os_string with android composite device



use_os_string of composite device is used with f_fs driver to make
decision about allocating extended compat os descriptors related
memory. If use_os_string is not set and adbd is passing extended
compat descriptors, unhandled page fault related crash is seen
when extended compat os descriptor is being copied using memcpy.
Fix this issue by setting use_os_string flag to true with android
composite device which makes sure to allocate memory for extended
compat os descriptor with f_fs driver.

CRs-Fixed: 994161
Change-Id: Ie8fa7e111a35a95423456583e6da0a469126e085
Signed-off-by: default avatarMayank Rana <mrana@codeaurora.org>
parent 52eeb774
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment