mirror of
https://github.com/flatpak/flatpak.git
synced 2026-05-16 12:50:01 -04:00
fd_map_remap_fd() is called several times after this, and without this change it can allocate a target fd that collides with instance_id_fd. Only the write end of the pipe needs to be considered because that's the one passed to the child. Closes: https://github.com/flatpak/flatpak/issues/6570