diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2016-08-22 18:05:56 +0300 |
---|---|---|
committer | Berker Peksag <berker.peksag@gmail.com> | 2016-08-22 18:05:56 +0300 |
commit | aec4f9bc0e34e3165bc0ef73f37d8fc547d5c346 (patch) | |
tree | 5c8afdc5a971d5cdb425ab217ec93fdbe05a3261 /Python/pythonrun.c | |
parent | c50927dabc27d93aefe9af07b7a2f1d9f1d07270 (diff) | |
download | cpython-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