mirror of
https://github.com/xroche/httrack.git
synced 2026-06-16 07:13:45 +03:00
Fill malloc'd and freed memory with 0xCA in the sanitize job so a buffer fread into without NUL termination, then used as a C string, runs off into the redzone instead of stopping at an accidental zero byte. ASan caps its malloc fill at the first 4096 bytes by default, which lets large cache buffers escape; max_malloc_fill_size lifts the cap. No rebuild, no source change -- purely the test environment. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Signed-off-by: Xavier Roche <roche@httrack.com>