← Commit list

caff91bf3c

Daniel Stenberg
Daniel Stenberg
2026-08-27
SUCCESS Duration: 427s

Subject

ngtcp2: avoid NULL deref in cf_ngtcp2_send

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/vquic/cf-ngtcp2.c+1 -1
@@ -832,7 +832,7 @@ static CURLcode cf_ngtcp2_send(struct Curl_cfilter *cf, struct Curl_easy *data,
CURL_TRC_CF(data, cf, "failed to open stream -> %d", (int)result);
goto out;
}
- VERBOSE(stream = H3_STREAM_CTX(ctx, data));
+ stream = H3_STREAM_CTX(ctx, data);
}
else if(stream->xfer_result) {
CURL_TRC_CF(data, cf, "[%" PRId64 "] xfer write failed", stream->id);