core,w32: Initialize dbg_help for socket debugging
* src/w32-io.c (_gpgme_io_select): Initialize dbg_help. -- This fixes a crash on Windows because dbg_help might be used unitialized.
This commit is contained in:
parent
2b2977c215
commit
fe2892618c
@ -1643,7 +1643,7 @@ _gpgme_io_select (struct io_select_fd_s *fds, size_t nfds, int nonblock)
|
|||||||
int i;
|
int i;
|
||||||
int any;
|
int any;
|
||||||
int count;
|
int count;
|
||||||
void *dbg_help;
|
void *dbg_help = NULL;
|
||||||
TRACE_BEG (DEBUG_SYSIO, "_gpgme_io_select", fds,
|
TRACE_BEG (DEBUG_SYSIO, "_gpgme_io_select", fds,
|
||||||
"nfds=%u, nonblock=%u", nfds, nonblock);
|
"nfds=%u, nonblock=%u", nfds, nonblock);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user