[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnurl] 09/205: gopher: fixed detection of an error conditi
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnurl] 09/205: gopher: fixed detection of an error condition from Curl_urldecode |
Date: |
Thu, 20 Apr 2017 16:19:09 +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 f7285cc02b6a3aabf7ccc6959f46f0d17d179ab6
Author: Dan Fandrich <address@hidden>
AuthorDate: Sun Feb 26 00:10:30 2017 +0100
gopher: fixed detection of an error condition from Curl_urldecode
---
lib/gopher.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/gopher.c b/lib/gopher.c
index a073d0ba2..6b57d3519 100644
--- a/lib/gopher.c
+++ b/lib/gopher.c
@@ -106,8 +106,8 @@ static CURLcode gopher_do(struct connectdata *conn, bool
*done)
/* ... and finally unescape */
result = Curl_urldecode(data, newp, 0, &sel, &len, FALSE);
- if(!sel)
- return CURLE_OUT_OF_MEMORY;
+ if(result)
+ return result;
sel_org = sel;
}
--
To stop receiving notification emails like this one, please contact
address@hidden
- [GNUnet-SVN] [gnurl] annotated tag gnurl-7.54.0 created (now ebd83b061), gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 12/205: cyassl: get library version string at runtime, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 09/205: gopher: fixed detection of an error condition from Curl_urldecode,
gnunet <=
- [GNUnet-SVN] [gnurl] 10/205: url: fix unix-socket support for proxy-disabled builds, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 05/205: proxy: fixed a memory leak on OOM, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 13/205: digest_sspi: fix compilation warning, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 11/205: test1139: allow for the possibility that the man page is not rebuilt, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 06/205: ftp: removed an erroneous free in an OOM path, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 01/205: bump: work on the next release, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 02/205: cmake: Replace invalid UTF-8 byte sequence, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 03/205: test557: explicitly use the C locale so the numeric output is as expected, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 04/205: tests: use consistent environment variables for setting charset, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 16/205: darwinssl: Warn that disabling host verify also disables SNI, gnunet, 2017/04/20