mirror of
https://github.com/curl/curl.git
synced 2026-07-31 01:28:04 +03:00
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
This commit is contained in:
parent
cd7904f5a9
commit
13032ff75c
7 changed files with 43 additions and 14 deletions
|
|
@ -25,7 +25,7 @@
|
|||
***************************************************************************/
|
||||
#include "tool_setup.h"
|
||||
|
||||
void tool_help(char *category);
|
||||
void tool_help(const char *category);
|
||||
void tool_list_engines(void);
|
||||
void tool_version_info(void);
|
||||
struct scan_ctx {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue