]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[Backport r51252 | neal.norwitz]
authorAndrew M. Kuchling <amk@amk.ca>
Tue, 3 Oct 2006 19:39:54 +0000 (19:39 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Tue, 3 Oct 2006 19:39:54 +0000 (19:39 +0000)
commit397935f4a3eb55810478910e4a0443f1fcb5bcb5
treee202cebaf4ee7ca0f5dc373f5bae4aa60cd81303
parent167392229615c4db0d8226e607bc12c841e298c6
[Backport r51252 | neal.norwitz]

It's very unlikely, though possible that source is not a string.  Verify
that PyString_AsString() returns a valid pointer.  (The problem can
arise when zlib.decompress doesn't return a string.)

Klocwork 346
Modules/zipimport.c