mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
- Fix character buffer size in ub_ctx_hosts.
This commit is contained in:
parent
06a58ca248
commit
a5027f5f56
2 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue