[GIT-PULLS] [php-src] PR #22620: iconv: Fix memory management in autoconf test for `//IGNORE`
[email protected] (TimWolla)
| Newsgroups | php.git-pulls |
|---|---|
| Message-ID | <[email protected]> |
Pull Request: https://github.com/php/php-src/pull/22620
Author: TimWolla
Sometimes running `./configure` for ASAN hangs on my machine. This is reproducible when compiling and running the program manually using
clang-16 -g -fsanitize=undefined,address test.c
It seems this is related to the LLVM symbolizer getting stuck, and the symbolizer is likely required to report the memory leak. After adding the memory management functions it seems to work (or rather fail) reliably.