1
0
Fork 0
mirror of https://repo.or.cz/socat.git synced 2025-07-28 21:32:56 +00:00

Increased maximum option length from 511 to 2047 bytes

This commit is contained in:
Gerhard Rieger 2020-11-28 20:19:47 +01:00
parent 0dccf48d69
commit 411b658939
2 changed files with 5 additions and 1 deletions

View file

@ -1821,7 +1821,7 @@ int parseopts_table(const char **a, unsigned int groups, struct opt **opts,
unsigned long ulongval;
long slongval;
long long slonglongval;
char token[512], *tokp; size_t len;
char token[2048], *tokp; size_t len;
int parsres;
int result;
char optbuf[256]; size_t optlen;