Change #262471
| Category | None |
| Changed by | Daniel Stenberg <daniel@haxx.se> |
| Changed at | Fri 27 Mar 2026 08:10:14 |
| Repository | https://api.github.com/repos/curl/curl |
| Project | curl/curl |
| Branch | master |
| Revision | 59c11074cfca00cf071b7194af6e2e4f8743bb69 |
Comments
src: add curl_global_init_mem testing Build with "configure --enable-init-mem-debug" to make the tool use curl_global_init_mem() and a set of private memory funtion callbacks for libcurl's memory management. Using this setup, memory mixups in tool code is more likely to cause crashes and thus get discovered while running tests. This curl_global_init_mem debug mode can only be done when building libcurl shared (not static) and without debugging enabled - since it needs to use the custom memory funtion callbacks. Closes #21099
Changed files
- CMakeLists.txt
- configure.ac
- src/tool_cfgable.c