]> granicus.if.org Git - python/commit
It's very unlikely, though possible that source is not a string. Verify
authorNeal Norwitz <nnorwitz@gmail.com>
Sun, 13 Aug 2006 18:12:03 +0000 (18:12 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Sun, 13 Aug 2006 18:12:03 +0000 (18:12 +0000)
commitee7c8f9af80ac2fa76987ca25397624915cbaea4
tree339efcfec2c8c0e5af2fd33f663d508ea57929ea
parent5aa96895d8d5d2c76d75842a5e3c79ef4f09d895
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