[Bug 295991] lib/libc posix_spawnp(): PATH-search child runs on an undersized rfork_thread stack and underflows into the caller's heap (heavily-linked processes; PHP proc_open)
Date: Sat, 27 Jun 2026 11:03:15 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295991
Marek Zarychta <zarychtam@plan-b.pwste.edu.pl> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |zarychtam@plan-b.pwste.edu.
| |pl
--- Comment #5 from Marek Zarychta <zarychtam@plan-b.pwste.edu.pl> ---
(In reply to Kyle Evans from comment #3)
FWIW, it changes nothing to me.
diff --git a/sys/amd64/include/vmparam.h b/sys/amd64/include/vmparam.h
index 763b89da9e12..75246b23df09 100644
--- a/sys/amd64/include/vmparam.h
+++ b/sys/amd64/include/vmparam.h
@@ -62,7 +62,7 @@
#define MAXDSIZ (32768UL*1024*1024) /* max data size */
#endif
#ifndef DFLSSIZ
-#define DFLSSIZ (8UL*1024*1024) /* initial stack size
limit */
+#define DFLSSIZ (16UL*1024*1024) /* initial
stack size limit */
#endif
#ifndef MAXSSIZ
#define MAXSSIZ (512UL*1024*1024) /* max stack size */
(In reply to Bryan Drewery from comment #2)
Perhaps we can incorporate this patch into the port ?
--
You are receiving this mail because:
You are the assignee for the bug.