mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:31:41 +03:00
netrc: support large file, longer lines, longer tokens
Regression from 3b43a05e00 (shipped in 8.11.0)
Reported-by: Moritz
Fixes #15513
Closes #15514
This commit is contained in:
parent
878bc429f2
commit
0cdde0fdfb
1 changed files with 3 additions and 3 deletions
|
|
@ -58,9 +58,9 @@ enum found_state {
|
|||
#define NETRC_FAILED -1
|
||||
#define NETRC_SUCCESS 0
|
||||
|
||||
#define MAX_NETRC_LINE 4096
|
||||
#define MAX_NETRC_FILE (64*1024)
|
||||
#define MAX_NETRC_TOKEN 128
|
||||
#define MAX_NETRC_LINE 16384
|
||||
#define MAX_NETRC_FILE (128*1024)
|
||||
#define MAX_NETRC_TOKEN 4096
|
||||
|
||||
static CURLcode file2memory(const char *filename, struct dynbuf *filebuf)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue