← Commit list

6c97ff8c12

x2018
x2018
2025-10-27
SUCCESS Duration: 269s

Subject

socks: properly maintain the status of 'done'

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

lib/socks.c+4 -2
@@ -1248,8 +1248,10 @@ static CURLcode socks_proxy_cf_connect(struct Curl_cfilter *cf,
if(!sx) {
cf->ctx = sx = calloc(1, sizeof(*sx));
- if(!sx)
- return CURLE_OUT_OF_MEMORY;
+ if(!sx) {
+ result = CURLE_OUT_OF_MEMORY;
+ goto out;
+ }
/* for the secondary socket (FTP), use the "connect to host"
* but ignore the "connect to port" (use the secondary port)