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:
Dezhi Huang <huangdezhi@hihonor.com>
Loading
Please sign in to comment