Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(4)

Unified Diff: Modules/_multiprocessing/semaphore.c

Issue 27591: multiprocessing: Possible uninitialized pointer use in Windows builds
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
--- a/Modules/_multiprocessing/semaphore.c Fri Jul 22 12:15:29 2016 +0200
+++ b/Modules/_multiprocessing/semaphore.c Sat Jul 23 01:08:54 2016 +1000
@@ -65,7 +65,7 @@
double timeout;
PyObject *timeout_obj = Py_None;
DWORD res, full_msecs, nhandles;
- HANDLE handles[2], sigint_event;
+ HANDLE handles[2], sigint_event = NULL;
static char *kwlist[] = {"block", "timeout", NULL};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+