Overview
| Comment: | Fix the C stack check of the regexp engine [7d47ba7d94] under AddressSanitizer: with its fake stack (the default in GCC 15), addresses of local variables are on the heap, so the depth computed from them was meaningless, and loading a package failed with "regular expression is too complex". Use the frame address with GCC and Clang. |
|---|---|
| Timelines: | family | ancestors | descendants | both | regexp-stack-check-asan |
| Files: | files | file ages | folders |
| SHA3-256: |
5abb653b5d1b583b65904ceb289e04e7 |
| User & Date: | serhiy.storchaka on 2026-11-13 18:54:49.649 |
| Other Links: | branch diff | manifest | tags |
Context
|
2026-11-13
| ||
| 21:48 | [7d47ba7d94] follow-up: stack check misfires under AddressSanitizer check-in: 942d86d156 user: jan.nijtmans tags: trunk, main | |
| 18:54 | Fix the C stack check of the regexp engine [7d47ba7d94] under AddressSanitizer: with its fake stack ... closed check-in: 5abb653b5d user: serhiy.storchaka tags: regexp-stack-check-asan | |
| 12:27 | Fix [7b51dbf6ca]: compiled code calling an imported command kept the old compiled form check-in: 12c60e9c42 user: jan.nijtmans tags: trunk, main | |
Changes
Modified generic/regcomp.c
from [80d5730889]
to [cc602ac5ec].
[diff]
Modified generic/regexec.c
from [0fdb2f56e4]
to [a1eab7817c].
[diff]
Modified generic/regguts.h
from [b107d8a391]
to [9b4942bee0].
[diff]