mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
5360edb9c7
Currently, pipe2 both closes the fds and releases references to the pipe vnode on failure. However, closing the fds already causes the vnode references to be dropped. Make pipe2 only release the vnode references when the respective file_t were not closed. Found by syzkaller fuzzing.