← Commit list

3bc6ae5500

Viktor Szakats
Viktor Szakats
2026-03-19
SUCCESS Duration: 251s

Subject

mod_curltest: fix allocation size

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 →

tests/http/testenv/mod_curltest/mod_curltest.c+1 -1
@@ -420,7 +420,7 @@ static int curltest_tweak_handler(request_rec *r)
if(x_hd_len > 0) {
int i, hd_len = (16 * 1024);
int n = (x_hd_len / hd_len);
- char *hd_val = apr_palloc(r->pool, x_hd_len);
+ char *hd_val = apr_palloc(r->pool, hd_len);
memset(hd_val, 'X', hd_len);
hd_val[hd_len - 1] = 0;
for(i = 0; i < n; ++i) {