summaryrefslogtreecommitdiff
path: root/native/android/input.cpp
diff options
context:
space:
mode:
author hangl <quic_hangl@quicinc.com> 2024-06-04 17:58:31 +0800
committer hangl <quic_hangl@quicinc.com> 2024-06-04 18:08:47 +0800
commitdf29b7fe3ac149674027b61ee3664bdc8a3af1c7 (patch)
tree72a149e036006cc112170244cc74505cfa6bf759 /native/android/input.cpp
parent921b174898d0dbf83f556d34d48d2646036f637f (diff)
Fix pipe fds leak in copyInternalSpliceSocket
This method used a temporarily pipe to copy data but forget to close it before exiting, which will cause fd leak. As the number of times this method is called increases, the process may abort since the fd reaches its limit. So close the pipe before exiting. Bug: 344767008 Change-Id: I2028bf2e36e9dde9b6aaea1f7c758169e6842cc7
Diffstat (limited to 'native/android/input.cpp')
0 files changed, 0 insertions, 0 deletions