Overview
| Comment: | Guard against stack overflow from deeply nested $((expr)): apply the same nesting limit as TclCompileScript (found using the review tool). Adds parse-22.110 to 22.113. |
|---|---|
| Timelines: | family | ancestors | descendants | both | tip-672-v2 |
| Files: | files | file ages | folders |
| SHA3-256: |
24c265df9af13a72aa9778ef74a7ef8e |
| User & Date: | rocketship98 on 2026-10-26 02:57:40.901 |
| Original User & Date: | core5 on 2026-10-26 02:57:40.901 |
| Other Links: | branch diff | manifest | tags |
Context
|
2026-10-27
| ||
| 10:52 | Limit nested brackets in the expression-substitution scanner to 1000 levels (EXPR_SUBST_MAX_SCAN_DEP... check-in: d14b0f9b75 user: rocketship98 tags: tip-672-v2 | |
|
2026-10-26
| ||
| 02:57 | Guard against stack overflow from deeply nested $((expr)): apply the same nesting limit as TclCompil... check-in: 24c265df9a user: rocketship98 tags: tip-672-v2 | |
|
2026-10-24
| ||
| 23:36 | TIP 672: add $((expr)) expression substitution $((expr)) is a shortcut for [expr {expr}], usable ... check-in: b6eed8b994 user: rocketship98 tags: tip-672-v2 | |
Changes
Modified generic/tclCompile.c
from [ef65e1c88f]
to [f0b253cbcb].
[diff]
Modified tests/parse.test
from [85ada975b5]
to [242b3a88d2].
[diff]