[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnurl] 21/151: openssl: prevent recursive function calls from ctx callb
From: |
gnunet |
Subject: |
[gnurl] 21/151: openssl: prevent recursive function calls from ctx callbacks |
Date: |
Fri, 20 Dec 2019 14:25:30 +0100 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository gnurl.
commit 8686aab69402ccad4bde0c2d73ec18e503ca11fd
Author: Daniel Stenberg <address@hidden>
AuthorDate: Mon Nov 11 11:45:12 2019 +0100
openssl: prevent recursive function calls from ctx callbacks
Follow the pattern of many other callbacks.
Ref: #4546
Closes #4585
---
lib/vtls/openssl.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/vtls/openssl.c b/lib/vtls/openssl.c
index 760758d23..26c8aa479 100644
--- a/lib/vtls/openssl.c
+++ b/lib/vtls/openssl.c
@@ -2806,8 +2806,10 @@ static CURLcode ossl_connect_step1(struct connectdata
*conn, int sockindex)
/* give application a chance to interfere with SSL set up. */
if(data->set.ssl.fsslctx) {
+ Curl_set_in_callback(data, true);
result = (*data->set.ssl.fsslctx)(data, BACKEND->ctx,
data->set.ssl.fsslctxp);
+ Curl_set_in_callback(data, false);
if(result) {
failf(data, "error signaled by ssl ctx callback");
return result;
--
To stop receiving notification emails like this one, please contact
address@hidden.
- [gnurl] 05/151: scripts/contributors: make committers get included too, (continued)
- [gnurl] 05/151: scripts/contributors: make committers get included too, gnunet, 2019/12/20
- [gnurl] 04/151: configure: fix typo in help text, gnunet, 2019/12/20
- [gnurl] 10/151: checksrc: repair the copyrightyear check, gnunet, 2019/12/20
- [gnurl] 11/151: test1560: require IPv6 for IPv6 aware URL parsing, gnunet, 2019/12/20
- [gnurl] 03/151: ntlm: USE_WIN32_CRYPTO check removed to get USE_NTLM2SESSION set, gnunet, 2019/12/20
- [gnurl] 07/151: curlver: bump to 7.67.1, gnunet, 2019/12/20
- [gnurl] 01/151: configure: avoid unportable `==' test(1) operator, gnunet, 2019/12/20
- [gnurl] 22/151: quiche: reject headers in the wrong order, gnunet, 2019/12/20
- [gnurl] 13/151: TODO: Run web-platform-tests url tests, gnunet, 2019/12/20
- [gnurl] 16/151: strerror: Fix an error looking up some Windows error strings, gnunet, 2019/12/20
- [gnurl] 21/151: openssl: prevent recursive function calls from ctx callbacks,
gnunet <=
- [gnurl] 18/151: test1558: use double slash after file:, gnunet, 2019/12/20
- [gnurl] 12/151: TODO: 1.4 alt-svc sharing, gnunet, 2019/12/20
- [gnurl] 19/151: remove_handle: clear expire timers after multi_done(), gnunet, 2019/12/20
- [gnurl] 15/151: system.h: fix for MCST lcc compiler, gnunet, 2019/12/20
- [gnurl] 08/151: RELEASE-NOTES: synced, gnunet, 2019/12/20
- [gnurl] 24/151: curl: fix -T globbing, gnunet, 2019/12/20
- [gnurl] 20/151: CURL-DISABLE: initial docs for the CURL_DISABLE_* defines, gnunet, 2019/12/20
- [gnurl] 23/151: HISTORY: added cmake, HTTP/3 and parallel downloads with curl, gnunet, 2019/12/20
- [gnurl] 09/151: copyrights: fix copyright year range, gnunet, 2019/12/20
- [gnurl] 26/151: examples: add multi-poll.c, gnunet, 2019/12/20