Tcl Source Code

Check-in [3de02ad5e8]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix [7d47ba7d94]: the regexp engine could overflow the C stack on deeply nested REs. Rebase to trunk
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | regexp-stack-depth
Files: files | file ages | folders
SHA3-256: 3de02ad5e8403ed741ce595e2f09957296217573a780bc61cf546952f5375ad1
User & Date: jan.nijtmans 2026-10-16 12:15:09.469
Context
2026-10-19
21:00
Fix [7d47ba7d94]: the regexp engine could overflow the C stack on deeply nested REs check-in: 4a966b9df4 user: jan.nijtmans tags: trunk, main
2026-10-16
12:15
Fix [7d47ba7d94]: the regexp engine could overflow the C stack on deeply nested REs. Rebase to trunk closed check-in: 3de02ad5e8 user: jan.nijtmans tags: regexp-stack-depth
11:57
Fix [41bc9a8298]: regsub -command panics with more than 9 capturing groups check-in: 3d8a87ba15 user: jan.nijtmans tags: trunk, main
2026-10-11
10:04
Use the real stack limit of the current thread (new TclpGetCStackLimit(): pthread_getattr_np, pthrea... check-in: c9dd03125b user: serhiy.storchaka tags: regexp-stack-depth
Changes
Unified Diff Side-by-Side Diff Patch
Changes to generic/regc_nfa.c.
Changes to generic/regcomp.c.
Changes to generic/rege_dfa.c.
Changes to generic/regexec.c.
Changes to generic/regguts.h.
Changes to generic/tclInt.h.
Changes to tests/reg.test.
Changes to tests/stack.test.
Changes to unix/tclUnixThrd.c.
Changes to win/tclWinThrd.c.