cpython/Python
Christian Heimes a78b627e2b Fix potential NULL pointer dereference in _imp_create_builtin
PyModule_GetDef() can return NULL. Let's check the return value properly
like in the other five cases.

CID 1299590
2016-09-09 00:25:03 +02:00
..
clinic Issue #27574: Decreased an overhead of parsing keyword arguments in functions 2016-08-14 10:52:18 +03:00
_warnings.c Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREF 2016-04-10 18:12:01 +03:00
asdl.c replace PY_SIZE_MAX with SIZE_MAX 2016-09-07 09:26:18 -07:00
ast.c replace PY_SIZE_MAX with SIZE_MAX 2016-09-07 09:26:18 -07:00
bltinmodule.c Issue #24254: Drop cls.__definition_order__. 2016-09-08 15:11:11 -07:00
ceval.c Merge 2016-09-08 14:45:40 -07:00
ceval_gil.h replace Py_(u)intptr_t with the c99 standard types 2016-09-06 13:47:26 -07:00
codecs.c Correct “an” → “a” with “Unicode”, “user”, “UTF”, etc 2016-04-15 02:14:19 +00:00
compile.c replace PY_SIZE_MAX with SIZE_MAX 2016-09-07 09:26:18 -07:00
condvar.h replace PY_LONG_LONG with long long 2016-09-06 10:46:49 -07:00
dtoa.c dtoa.c: remove code for platforms with 64-bit integers (#17884) 2016-09-06 12:44:21 -07:00
dup2.c Merged revisions 85236 via svnmerge from 2010-10-05 22:18:29 +00:00
dynamic_annotations.c Make (most of) Python's tests pass under Thread Sanitizer. 2010-05-03 19:29:34 +00:00
dynload_aix.c PEP 489: Multi-phase extension module initialization 2015-05-23 22:24:10 +10:00
dynload_dl.c Issue #24268: Fix import naming when loading extension modules. Patch by Petr Viktorin. 2015-05-23 14:13:41 -07:00
dynload_hpux.c Issue #24268: Fix import naming when loading extension modules. Patch by Petr Viktorin. 2015-05-23 14:13:41 -07:00
dynload_next.c Issue #24268: Fix import naming when loading extension modules. Patch by Petr Viktorin. 2015-05-23 14:13:41 -07:00
dynload_shlib.c PEP 489: Multi-phase extension module initialization 2015-05-23 22:24:10 +10:00
dynload_stub.c Issue #13959: Re-implement imp.get_suffixes() in Lib/imp.py. 2012-05-04 15:20:40 -04:00
dynload_win.c Issue #25923: Added more const qualifiers to signatures of static and private functions. 2015-12-25 20:01:53 +02:00
errors.c Issue #15767: Use ModuleNotFoundError. 2016-09-07 16:56:15 -07:00
fileutils.c Issue #23524: Finish removing _PyVerify_fd from sources 2016-09-08 11:21:54 -07:00
formatter_unicode.c Issue #27895: Spelling fixes (Contributed by Ville Skyttä). 2016-08-30 10:47:49 -07:00
frozen.c Issue #26647: Python interpreter now uses 16-bit wordcode instead of bytecode. 2016-05-24 09:15:14 +03:00
frozenmain.c Issue #5319: New Py_FinalizeEx() API to exit with status 120 on failure 2015-11-30 03:18:29 +00:00
future.c Add ast.Constant 2016-01-26 00:40:57 +01:00
getargs.c replace PY_LONG_LONG with long long 2016-09-06 10:46:49 -07:00
getcompiler.c
getcopyright.c 2016 will be another year of writing copyrighted code 2016-01-01 10:23:45 -06:00
getopt.c #16306: report only the first unknown option and add more tests. Patch by Serhiy Storchaka. 2012-11-23 18:48:32 +02:00
getplatform.c
getversion.c Merged revisions 83352,83355-83358,83362,83366,83368-83369 via svnmerge from 2010-08-01 19:17:57 +00:00
graminit.c Issue #9232: Support trailing commas in function declarations. 2015-08-12 08:00:06 +12:00
import.c Fix potential NULL pointer dereference in _imp_create_builtin 2016-09-09 00:25:03 +02:00
importdl.c Issue #25923: Added the const qualifier to static constant arrays. 2015-12-25 19:53:18 +02:00
importdl.h PEP 489: Multi-phase extension module initialization 2015-05-23 22:24:10 +10:00
importlib.h Issue #28026: Raise ImportError when exec_module() exists but create_module() is missing. 2016-09-08 11:12:31 -07:00
importlib_external.h Issue #26667: Add path-like object support to importlib.util. 2016-09-07 18:39:18 -07:00
makeopcodetargets.py makeopcodetargets.py: we need to import Lib/opcode.py 2016-03-26 01:04:37 +01:00
marshal.c Cleanup hashtable.h 2016-03-23 09:52:13 +01:00
modsupport.c replace PY_LONG_LONG with long long 2016-09-06 10:46:49 -07:00
mysnprintf.c Recorded merge of revisions 81032 via svnmerge from 2010-05-09 16:14:21 +00:00
mystrtoul.c Issue #25923: Added the const qualifier to static constant arrays. 2015-12-25 19:53:18 +02:00
opcode_targets.h Issue #27078: Added BUILD_STRING opcode. Optimized f-strings evaluation. 2016-09-06 22:07:53 +03:00
peephole.c Re-linewrap comments 2016-08-07 20:20:33 -07:00
pyarena.c Issue #18203: Replace malloc() with PyMem_Malloc() to allocate arena objects 2013-07-07 17:18:53 +02:00
pyctype.c
pyfpe.c Removed unintentional trailing spaces in non-external and non-generated C files. 2015-03-18 21:53:15 +02:00
pyhash.c replace Python aliases for standard integer types with the standard integer types (#17884) 2016-09-06 13:24:00 -07:00
pylifecycle.c Issue #23524: Finish removing _PyVerify_fd from sources 2016-09-08 11:21:54 -07:00
pymath.c Issue 24366: Indent code (thanks to li4ick for reporting). 2015-06-02 18:53:46 -04:00
pystate.c Add the co_extra field and accompanying APIs to code objects. 2016-09-07 11:16:41 -07:00
pystrcmp.c Recorded merge of revisions 81032 via svnmerge from 2010-05-09 16:14:21 +00:00
pystrhex.c Silence a gcc "may be used uninitialized" compiler warning. Not true. 2015-04-25 23:51:39 -07:00
pystrtod.c Issue #25923: Added the const qualifier to static constant arrays. 2015-12-25 19:53:18 +02:00
Python-ast.c Issue #26146: remove useless code 2016-01-27 00:37:59 +01:00
pythonrun.c Avoid calling functions with an empty string as format string 2016-09-05 18:16:01 -07:00
pytime.c replace PY_LONG_LONG with long long 2016-09-06 10:46:49 -07:00
random.c os.urandom() now blocks on Linux 2016-09-06 16:33:52 -07:00
README Issue #18093: Factor out the programs that embed the runtime 2014-07-25 21:52:14 +10:00
sigcheck.c
strdup.c Issue #18722: Remove uses of the "register" keyword in C code. 2013-08-13 20:18:52 +02:00
structmember.c replace PY_LONG_LONG with long long 2016-09-06 10:46:49 -07:00
symtable.c Fix potential NULL pointer dereference in update_symbols() 2016-09-09 00:22:28 +02:00
sysmodule.c Issue #27781: Change file system encoding on Windows to UTF-8 (PEP 529) 2016-09-08 10:35:16 -07:00
thread.c Issue #25523: Merge "a" to "an" fixes from 3.4 into 3.5 2015-11-02 04:04:57 +00:00
thread_foobar.h Issue #21312: Update the thread_foobar.h template file to include newer threading APIs. Patch by Jack McCracken. 2014-04-28 21:12:11 +02:00
thread_nt.h replace PY_LONG_LONG with long long 2016-09-06 10:46:49 -07:00
thread_pthread.h Issue #22206: Using pthread, PyThread_create_key() now sets errno to ENOMEM and 2014-08-17 22:11:06 +02:00
traceback.c Avoid calling functions with an empty string as format string 2016-09-05 18:16:01 -07:00
wordcode_helpers.h Issue #26647: Python interpreter now uses 16-bit wordcode instead of bytecode. 2016-05-24 09:15:14 +03:00

Miscellaneous source files for the main Python shared library