summaryrefslogtreecommitdiff
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2016-08-22 18:05:56 +0300
committerBerker Peksag <berker.peksag@gmail.com>2016-08-22 18:05:56 +0300
commitaec4f9bc0e34e3165bc0ef73f37d8fc547d5c346 (patch)
tree5c8afdc5a971d5cdb425ab217ec93fdbe05a3261 /Python/pythonrun.c
parentc50927dabc27d93aefe9af07b7a2f1d9f1d07270 (diff)
downloadcpython-aec4f9bc0e34e3165bc0ef73f37d8fc547d5c346.tar.gz
Issue #27587: Move null pointer check earlier in _PyState_AddModule()
This was found by PVS-Studio: V595 The 'def' pointer was utilized before it was verified against nullptr. Check lines: 286, 292. pystate.c 286 Initial patch by Christian Heimes.
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions