]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
zipimport: remove arbitrary length limit from message formats
authorVictor Stinner <victor.stinner@haypocalc.com>
Mon, 18 Oct 2010 22:45:54 +0000 (22:45 +0000)
committerVictor Stinner <victor.stinner@haypocalc.com>
Mon, 18 Oct 2010 22:45:54 +0000 (22:45 +0000)
commit07298a1f0434950c927f5d459fe611f73bb6d262
tree5f15ce0df9da309c96486267a08a430268b5b4e5
parent9e40fad193d8d8365215cf0c23fed990ff0bed9b
zipimport: remove arbitrary length limit from message formats

PyErr_Format() and PyUnicode_FromFormat() are able to allocate the right buffer
size and to catch memory allocation failures.
Modules/zipimport.c