ensure url buffer is sufficient to not truncate output

This commit is contained in:
Vincent Sanders 2018-11-06 21:58:53 +00:00
parent 3fd6f04e52
commit 7264ff6f4d
1 changed files with 1 additions and 1 deletions

View File

@ -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;