_sre.c, data_stack_grow() in Py2.4 uses realloc()'ed memory without
initialising the newly allocated memory. For complex regexps that require
additional sre stack space, this ultimately results in a core dump or
corrupted heap. Filling the newly allocated memory with 0x55 makes the
problem more
Armin Rigo wrote:
Some code in the 'py' lib used to use marshal to send simple objects between
the main process and a subprocess. We ran into trouble when we extended the
idea to a subprocess that would actually run via ssh on a remote machine, and
the remote machine's Python version didn't
Tim Delaney wrote:
Irmen de Jong wrote:
Also, I'm not sure how a test-case should be constructed
for this patch? Can the Python regression test download stuff
as part of a test? Or is there some other way to make a
testcase for this.
Hmm - perhaps start a server on the local machine at the start
On Tue, Dec 21, 2004 at 08:00:22PM +0100, Irmen de Jong wrote:
Thanks for those suggestions.
Let's see what I can concoct.
Never made (or studied in detail) a python regression test case
before so now is a good time :)
You might be especially interested in 'class urlopen_HttpTests' in
[Armin Rigo]
Some code in the 'py' lib used to use marshal to send simple objects between
the main process and a subprocess. We ran into trouble when we extended the
idea to a subprocess that would actually run via ssh on a remote machine, and
the remote machine's Python version didn't match
Irmen de Jong wrote:
Looks like the end tag of {description} has disappeared with this
check-in:
[...]
Out of curiousity, how did you find this?
Well, I periodically download daily snapshots, so I compiled TeX
files with them. The snapshot from Dec-11 was OK, but with the one
from Dec-17 I
Hello all,
per previous discussion,
http://mail.python.org/pipermail/python-dev/2004-October/049495.html
I'd like to push a trivial little patch to sgmllib (#1087808) on you
gents, in exchange for my reviews effort etc. on 10 other patches.
Without further ado:
No-brainers:
1055159