Replace malloc with alloca in fork child exec path for async-signal safety

This commit is contained in:
Andrea Mazzoleni 2026-08-10 13:01:05 +02:00
parent e1f6ddfe15
commit f908b122a5
3 changed files with 8 additions and 4 deletions

View file

@ -159,6 +159,10 @@
#include <unistd.h>
#endif
#if HAVE_ALLOCA_H
#include <alloca.h>
#endif
#if TIME_WITH_SYS_TIME
#include <sys/time.h>
#include <time.h>