[openssl] master update
dev at ddvo.net
dev at ddvo.net
Thu Sep 17 13:30:11 UTC 2020
The branch master has been updated
via bde4aa8dc1946dff189c89396814a98d1052262d (commit)
from ebcae87f6b62ed9b79a1255dbb3c69c635cea4d8 (commit)
- Log -----------------------------------------------------------------
commit bde4aa8dc1946dff189c89396814a98d1052262d
Author: Dr. David von Oheimb <David.von.Oheimb at siemens.com>
Date: Wed Sep 16 13:29:05 2020 +0200
Fix Coverity CID 1466708 - correct pointer calculation in one case
Reviewed-by: Paul Dale <paul.dale at oracle.com>
(Merged from https://github.com/openssl/openssl/pull/12894)
-----------------------------------------------------------------------
Summary of changes:
crypto/http/http_lib.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/crypto/http/http_lib.c b/crypto/http/http_lib.c
index 19b964e613..be790bda90 100644
--- a/crypto/http/http_lib.c
+++ b/crypto/http/http_lib.c
@@ -89,7 +89,7 @@ int OSSL_HTTP_parse_url(const char *url, char **phost, char **pport,
if (pport_num == NULL) {
p = strchr(port, '/');
if (p == NULL)
- p = p + strlen(port);
+ p = host_end + 1 + strlen(port);
} else { /* make sure a numerical port value is given */
portnum = strtol(port, &p, 10);
if (p == port || (*p != '\0' && *p != '/'))
More information about the openssl-commits
mailing list