Skip to content
Snippets Groups Projects
Commit df29b7fe authored by hangl's avatar hangl
Browse files

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
parent 921b1748
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment