Commit 4bf30ef6 authored by jiangxinpei's avatar jiangxinpei
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 avatarDezhi Huang <huangdezhi@hihonor.com>
parent 1e606eac
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment