projects
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e11814
)
[PATCH] url: fix the SSH connection reuse check
author
Daniel Stenberg
<daniel@haxx.se>
Fri, 10 Mar 2023 07:22:51 +0000
(08:22 +0100)
committer
Samuel Henrique
<samueloph@debian.org>
Sat, 19 Jul 2025 19:04:59 +0000
(21:04 +0200)
Reported-by: Harry Sintonen
Closes #10735
Gbp-Pq: Name CVE-2023-27538.patch
lib/url.c
patch
|
blob
|
history
diff --git
a/lib/url.c
b/lib/url.c
index 1bb93df913dc4b003cca039adbcfbdfde25c569e..747200e86259f1eba2b1653ba317a26679997950 100644
(file)
--- a/
lib/url.c
+++ b/
lib/url.c
@@
-1300,7
+1300,7
@@
ConnectionExists(struct Curl_easy *data,
(data->state.httpwant < CURL_HTTP_VERSION_3))))
continue;
- if(get_protocol_family(needle->handler)
==
PROTO_FAMILY_SSH) {
+ if(get_protocol_family(needle->handler)
&
PROTO_FAMILY_SSH) {
if(!ssh_config_matches(needle, check))
continue;
}