diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2006-10-05 17:19:30 (GMT) |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2006-10-05 17:19:30 (GMT) |
commit | fb369242bdae37e39d9643c312ee5219f2371006 (patch) | |
tree | edb5a122a043de5e706605b90ea954d642a57722 /Python/pythonrun.c | |
parent | 1af9f68b4a6f8da34481670b9741854081344321 (diff) | |
download | cpython-fb369242bdae37e39d9643c312ee5219f2371006.zip cpython-fb369242bdae37e39d9643c312ee5219f2371006.tar.gz cpython-fb369242bdae37e39d9643c312ee5219f2371006.tar.bz2 |
[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
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions