]> granicus.if.org Git - python/commit
The sre test suite currently overruns the stack on Win64, Linux64, and Monterey
authorTrent Mick <trentm@activestate.com>
Wed, 16 Aug 2000 22:29:55 +0000 (22:29 +0000)
committerTrent Mick <trentm@activestate.com>
Wed, 16 Aug 2000 22:29:55 +0000 (22:29 +0000)
commit239548f37da61f31206f9db912d7897431971b63
treed53ab27e950c2e5c8edcfa01d6f516e083eebb8e
parent1aebadf0e5c8f5c7f8ff994c9ee4dba20115ceec
The sre test suite currently overruns the stack on Win64, Linux64, and Monterey
(64-bit AIX) This is because the RECURSION_LIMIT is too low. This patch lowers
to recusion limit to 7500 such that the recusion check fires before a segfault.

Fredrik suggested/approved the fix in private email, modulo sre's recusion
limit checking no being necessary when PyOS_CheckStack is implemented for
Windows.
Modules/_sre.c