- Fix character buffer size in ub_ctx_hosts.

This commit is contained in:
W.C.A. Wijngaards 2019-08-15 15:11:04 +02:00
parent 06a58ca248
commit a5027f5f56
2 changed files with 2 additions and 1 deletions

View file

@ -3,6 +3,7 @@
- Fix autotrust temp file uniqueness windows compile.
- avoid warning about upcast on 32bit systems for autotrust.
- escape commandline contents for -V.
- Fix character buffer size in ub_ctx_hosts.
14 August 2019: George
- Fix #59, when compiled with systemd support check that we can properly

View file

@ -1159,7 +1159,7 @@ int
ub_ctx_hosts(struct ub_ctx* ctx, const char* fname)
{
FILE* in;
char buf[1024], ldata[1024];
char buf[1024], ldata[2048];
char* parse, *addr, *name, *ins;
lock_basic_lock(&ctx->cfglock);
if(ctx->finalized) {