cpython: 4343dfaca8e2 (original) (raw)

Mercurial > cpython

changeset 84536:4343dfaca8e2 3.3

Issue #18426: Fix NULL pointer dereference in C extension import when PyModule_GetDef() returns an error. [#18426]

Christian Heimes christian@cheimes.de
date Thu, 11 Jul 2013 11:22:21 +0200
parents 4b3b87719e2c
children 9fb3656b178a fce581643cb6
files Misc/NEWS Python/importdl.c
diffstat 2 files changed, 5 insertions(+), 0 deletions(-)[+] [-] Misc/NEWS 3 Python/importdl.c 2

line wrap: on

line diff

--- a/Misc/NEWS +++ b/Misc/NEWS @@ -12,6 +12,9 @@ What's New in Python 3.3.3 release candi Core and Builtins ----------------- +- Issue #18426: Fix NULL pointer dereference in C extension import when

--- a/Python/importdl.c +++ b/Python/importdl.c @@ -97,6 +97,8 @@ PyObject / Remember pointer to module init function. */ def = PyModule_GetDef(m);