[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnurl] 40/205: ares: Curl_resolver_wait_resolv: clear *ent
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnurl] 40/205: ares: Curl_resolver_wait_resolv: clear *entry first in function |
Date: |
Thu, 20 Apr 2017 16:19:40 +0200 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to annotated tag gnurl-7.54.0
in repository gnurl.
commit 958e1766889d01b0e1f9634069ac413121c75e3c
Author: Daniel Stenberg <address@hidden>
AuthorDate: Tue Mar 7 08:08:55 2017 +0100
ares: Curl_resolver_wait_resolv: clear *entry first in function
---
lib/asyn-ares.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/lib/asyn-ares.c b/lib/asyn-ares.c
index 4baaef06a..281fb03c8 100644
--- a/lib/asyn-ares.c
+++ b/lib/asyn-ares.c
@@ -358,6 +358,9 @@ CURLcode Curl_resolver_wait_resolv(struct connectdata *conn,
struct timeval now = Curl_tvnow();
struct Curl_dns_entry *temp_entry;
+ if(entry)
+ *entry = NULL; /* clear on entry */
+
timeout = Curl_timeleft(data, &now, TRUE);
if(timeout < 0) {
/* already expired! */
--
To stop receiving notification emails like this one, please contact
address@hidden
- [GNUnet-SVN] [gnurl] 25/205: fix potential use of uninitialized variables, (continued)
- [GNUnet-SVN] [gnurl] 25/205: fix potential use of uninitialized variables, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 35/205: BINDINGS: update the Lua-cURL URL, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 17/205: configure: fix for --enable-pthreads, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 33/205: BINDINGS: add go-curl and perl6-net-curl, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 21/205: build: fix gcc7 implicit fallthrough warnings, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 26/205: CURLOPT_SSL_CTX_FUNCTION.3: Fix EXAMPLE formatting errors, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 30/205: CMake: Set at most one SSL library, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 27/205: CMake: Reorganize SSL support, separate WinSSL and SSPI, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 28/205: CMake: Add DarwinSSL support, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 34/205: BINDINGS: add Scilab binding, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 40/205: ares: Curl_resolver_wait_resolv: clear *entry first in function,
gnunet <=
- [GNUnet-SVN] [gnurl] 07/205: docs: de-duplicate file lists in the Makefiles, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 18/205: checksrc.bat: Ignore curl_config.h.in, curl_config.h, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 44/205: Makefile.am: Remove distribution man pages when running 'make clean', gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 38/205: KNOWN_BUGS: Add DarwinSSL won't import PKCS#12 without a password, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 54/205: polarssl: fixed compile errors introduced in 6448f98c, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 50/205: RELEASE-NOTES: synced with 6888a670aa01, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 23/205: tests: fixed a typo in some comments, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 56/205: build: fixed making man page in out-of-tree tarball builds, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 36/205: URL: return error on malformed URLs with junk after port number, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 63/205: url: don't compile detect_proxy if HTTP support is disabled, gnunet, 2017/04/20