]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[Backport r51225 | neal.norwitz]
authorAndrew M. Kuchling <amk@amk.ca>
Wed, 4 Oct 2006 13:30:17 +0000 (13:30 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Wed, 4 Oct 2006 13:30:17 +0000 (13:30 +0000)
commit589f333dfae51f7a1b59e87935b84daebc968083
tree6897a1372637238b56122eff7ee4cc6bdfab902e
parentd3499a30713c972e293ee677efe7b37a41efb4db
[Backport r51225 | neal.norwitz]

Try to handle a malloc failure.  I'm not entirely sure this is correct.
There might be something else we need to do to handle the exception.

Klocwork # 212-213

[I think this needs more work; a malloc() failure will cause a match to fail,
 but nothing raises MemoryError.  I'll work on this on the trunk and backport.
 --amk]
Modules/_sre.c