commit | df29b7fe3ac149674027b61ee3664bdc8a3af1c7 | [log] [tgz] |
---|---|---|
author | hangl <quic_hangl@quicinc.com> | Tue Jun 04 17:58:31 2024 +0800 |
committer | hangl <quic_hangl@quicinc.com> | Tue Jun 04 18:08:47 2024 +0800 |
tree | 72a149e036006cc112170244cc74505cfa6bf759 | |
parent | 921b174898d0dbf83f556d34d48d2646036f637f [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