Artifact 0423ab8eeb77c32718679c8ef036852c80eadb0d8e3a7573f9588c2d46db5b22:
- File
unix/tclUnixThrd.c
- 2026-10-11 10:04:21 — part of check-in [c9dd03125b] on branch regexp-stack-depth — Use the real stack limit of the current thread (new TclpGetCStackLimit(): pthread_getattr_np, pthread_attr_get_np, pthread_get_stackaddr_np, pthread_stackseg_np, thr_stksegment, VirtualQuery) in the regexp stack check, capped at REG_MAX_STACK_DEPTH, so that threads with small stacks are protected too. Compute it only when first needed. New test stack-4.1 runs deep REs with a 256 KB stack. (user: serhiy.storchaka, size: 23078) [annotate] [blame] [check-ins using]
- 2026-10-16 12:15:09 — part of check-in [3de02ad5e8] on branch regexp-stack-depth — Fix [7d47ba7d94]: the regexp engine could overflow the C stack on deeply nested REs. Rebase to trunk (user: jan.nijtmans, size: 23078) [annotate] [blame] [check-ins using]