tool_parsecfg: accept line lengths up to 10M

Bumped from 100K set in 47dd957daf

Reported-by: Antoine du Hamel
Fixes #11431
Closes #11435
This commit is contained in:
Daniel Stenberg 2023-07-13 08:49:20 +02:00
parent 5c07439ba3
commit e53df4cf08
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
2 changed files with 3 additions and 2 deletions

View file

@ -43,7 +43,7 @@
static const char *unslashquote(const char *line, char *param);
#define MAX_CONFIG_LINE_LENGTH (100*1024)
#define MAX_CONFIG_LINE_LENGTH (10*1024*1024)
static bool my_get_line(FILE *fp, struct curlx_dynbuf *, bool *error);
#ifdef WIN32