0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-09 20:58:44 +00:00
bird/sysdep/unix
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
..
alloc_test.c Fixed a bug in hot page global storage 2023-05-06 10:50:32 +02:00
alloc.c Fixed a bug in hot page global storage 2023-05-06 10:50:32 +02:00
config.Y Decoupling loops from threads to allow fixed thread count 2023-01-19 11:13:50 +01:00
Doc Doc: Rename code documentation files back to Doc 2018-12-14 02:03:42 +01:00
domain.c Refactoring of domains connected to pools 2023-04-25 09:52:28 +02:00
endian.h OpenBSD port related changes. 2009-05-11 01:32:49 +02:00
io-loop.c Fixed abort when running in foreground but stdin is closed 2023-05-13 20:33:35 +02:00
io-loop.h First try of loop balancing 2023-05-06 10:50:26 +02:00
io.c Refactoring of domains connected to pools 2023-04-25 09:52:28 +02:00
krt.c Resource pools are now bound with domains. 2023-04-24 10:33:28 +02:00
krt.h Merge commit '534d0a4b' into thread-next 2022-08-05 10:37:53 +02:00
krt.Y Conf: Allowing keyword redefinition 2022-05-04 15:39:21 +02:00
log.c Fixed a bug in hot page global storage 2023-05-06 10:50:32 +02:00
main.c Merge commit '231c6385' into thread-next-iface 2023-04-14 14:00:54 +02:00
Makefile Fixed a bug in hot page global storage 2023-05-06 10:50:32 +02:00
random.c sysdep: Add wrapper to get random bytes - update 2021-06-06 16:26:06 +02:00
unix.h Sockets: Unified API for main and other loops 2023-04-04 17:00:59 +02:00