0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-09 20:58:44 +00:00
bird/sysdep
Maria Matejka 6a3e5c2ae8 Fixed abort when running in foreground but stdin is closed
A forgotten else-clause caused BIRD to treat some pseudo-random place in
memory as fd-pair. This was happening only on startup of the first
thread in group and the value there in memory was typically zero ... and
writing to stdin succeeded.

When running BIRD with stdin not present (like systemd does), it died on
this spurious write. Now it seems to work correctly.

Thanks to Daniel Suchy <danny@danysek.cz> for reporting.

http://trubka.network.cz/pipermail/bird-users/2023-May/016929.html
2023-05-13 20:33:35 +02:00
..
bsd Merge commit 'd61505b039bf0aa6697e28b2a4e07907c89ba1fb' into thread-next 2023-04-24 10:40:53 +02:00
bsd-netlink Netlink: move OS-specific headers and defines to sysdep 2022-12-16 19:21:51 +01:00
cf Alloc: Disable transparent huge pages 2023-01-17 17:13:50 +01:00
linux Sockets: Unified API for main and other loops 2023-04-04 17:00:59 +02:00
unix Fixed abort when running in foreground but stdin is closed 2023-05-13 20:33:35 +02:00
config.h NEWS and version update 2023-05-11 11:41:01 +02:00
Doc Doc: Rename code documentation files back to Doc 2018-12-14 02:03:42 +01:00
sysdep.sgml Spelling fixes to progdoc. 2000-06-07 12:29:08 +00:00