]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[Backport r51247 | neal.norwitz]
authorAndrew M. Kuchling <amk@amk.ca>
Thu, 5 Oct 2006 17:19:30 +0000 (17:19 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Thu, 5 Oct 2006 17:19:30 +0000 (17:19 +0000)
commitfb369242bdae37e39d9643c312ee5219f2371006
treeedb5a122a043de5e706605b90ea954d642a57722
parent1af9f68b4a6f8da34481670b9741854081344321
[Backport r51247 | neal.norwitz]

cpathname could be NULL if it was longer than MAXPATHLEN.  Don't try
to write the .pyc to NULL.

Check results of PyList_GetItem() and PyModule_GetDict() are not NULL.

Klocwork 282, 283, 285
Python/import.c