Commit 333c956f authored by jiangxinpei's avatar jiangxinpei Committed by Jingui Zhao
Browse files

ANDROID: GKI: Add a hook for sock management.



This hook allows certain applications to clone a socket, after which
the vendor module performs additional operations on the new socket.
When the ANDROID_OEM_DATA of the new socket is a pointer rather than
a specific value, the ANDROID_OEM_DATA of the new socket will point
to the same address as the ANDROID_OEM_DATA of the old socket,
which may lead to a crash when the pointer is subsequently released.

Bug: 356733575
Change-Id: If4d98dd7c82e252eace49567e0385af3797beb29
Signed-off-by: default avatarjiangxinpei <huangdezhi@hihonor.com>
(cherry picked from commit 4bf30ef6)
parent e874bfd3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment