commit b1fb6b7627f47cebe8d1aac0b5b7acbb4a210328 Author: Your Name Date: Mon Feb 4 14:25:44 2019 +0000 Fix a potential infinite loop https://bugs.launchpad.net/ubuntu/+source/libfcgi/+bug/1248516 From https://launchpadlibrarian.net/155959535/infinit_loop.patch diff --git a/libfcgi/os_unix.c b/libfcgi/os_unix.c index 73e6a7f..fd030eb 100755 --- a/libfcgi/os_unix.c +++ b/libfcgi/os_unix.c @@ -1199,6 +1199,7 @@ int OS_Accept(int listen_sock, int fail_on_intr, const char *webServerAddrs) break; close(socket); + socket = -1; } /* socket >= 0 */ } /* for(;;) */