]> git.ipfire.org Git - thirdparty/curl.git/commit
curl: fix memory leak when -h is used in config file
authorDaniel Stenberg <daniel@haxx.se>
Fri, 9 May 2025 21:43:22 +0000 (23:43 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 10 May 2025 09:16:07 +0000 (11:16 +0200)
commit13032ff75cdcdf34009f9adcb7da769e4d162d04
tree7bfe3afcc2d27ddeca24a6f7179d50221d3dc112
parentcd7904f5a970ef14e84993a3bb9d72638c760cf8
curl: fix memory leak when -h is used in config file

Reported-by: antypanty on hackerone
Add test 748 to reproduce and verify fix

Closes #17306
src/tool_cfgable.h
src/tool_getparam.c
src/tool_help.c
src/tool_help.h
src/tool_operate.c
tests/data/Makefile.am
tests/data/test748 [new file with mode: 0644]