mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-02-27 11:54:49 +03:00
ensure url buffer is sufficient to not truncate output
This commit is contained in:
parent
3fd6f04e52
commit
7264ff6f4d
@ -2969,7 +2969,7 @@ nserror urldb_load(const char *filename)
|
||||
for (i = 0; i < urls; i++) {
|
||||
struct path_data *p = NULL;
|
||||
char scheme[64], ports[10];
|
||||
char url[64 + 3 + 256 + 6 + 4096 + 1];
|
||||
char url[64 + 3 + 256 + 6 + 4096 + 1 + 1];
|
||||
unsigned int port;
|
||||
bool is_file = false;
|
||||
nsurl *nsurl;
|
||||
|
Loading…
x
Reference in New Issue
Block a user