Skip to content

Commit 6f9e1df

Browse files
committed
[Issue #263] fix parsing of big size values
1 parent 775b260 commit 6f9e1df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utils/configuration.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -490,9 +490,9 @@ config_read_opt(const char *path, ConfigOption options[], int elevel,
490490
bool strict, bool missing_ok)
491491
{
492492
FILE *fp;
493-
char buf[1024];
493+
char buf[4096];
494494
char key[1024];
495-
char value[1024];
495+
char value[2048];
496496
int parsed_options = 0;
497497

498498
if (!options)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy