Files
flatpak/portal
Alberto Garcia c75d7e2c49 portal: update max_fd after creating the instance ID pipe
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
2026-04-08 22:04:46 +00:00
..
2024-02-13 08:20:57 -06:00