diff options
author | Guido van Rossum <guido@python.org> | 2000-03-03 14:51:11 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2000-03-03 14:51:11 (GMT) |
commit | 9428fa607b6edc7c5ef46814cd869291a8b4619e (patch) | |
tree | 602982d01d4577381fe9e0d541197da55af78932 /Misc | |
parent | 56359f591b361f41f661a14e5ed129bf8f22fa87 (diff) | |
download | cpython-9428fa607b6edc7c5ef46814cd869291a8b4619e.zip cpython-9428fa607b6edc7c5ef46814cd869291a8b4619e.tar.gz cpython-9428fa607b6edc7c5ef46814cd869291a8b4619e.tar.bz2 |
Patch by Tim Peters:
Changes the one regexp in PyParse capable of making the re module blow the C
stack when passed unreasonable <0.9 wink> program text. Jeremy Hylton
provoked this with a program of the form:
x = (1,
2,
... # 9997 lines deleted here
10000,
)
Programs "like this" will no longer (no matter how many lines they contain)
trigger re death. OTOH, you can now make another class of unreasonable
program that will take much longer to parse.
Diffstat (limited to 'Misc')
0 files changed, 0 insertions, 0 deletions