mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-01-17 04:02:54 -05:00
- Fix #839: Memory grows unexpectedly with large RPZ files.
git-svn-id: file:///svn/unbound/trunk@3872 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
52dbaa4ac1
commit
3334ab389c
2 changed files with 2 additions and 1 deletions
|
|
@ -1,5 +1,6 @@
|
|||
29 September 2016: Wouter
|
||||
- Fix #838: 1.5.10 cannot be built on Solaris, undefined PATH_MAX.
|
||||
- Fix #839: Memory grows unexpectedly with large RPZ files.
|
||||
|
||||
27 September 2016: Wouter
|
||||
- tag for 1.5.10 release
|
||||
|
|
|
|||
|
|
@ -154,7 +154,7 @@ local_zone_create(uint8_t* nm, size_t len, int labs,
|
|||
z->namelen = len;
|
||||
z->namelabs = labs;
|
||||
lock_rw_init(&z->lock);
|
||||
z->region = regional_create();
|
||||
z->region = regional_create_custom(sizeof(struct regional));
|
||||
if(!z->region) {
|
||||
free(z);
|
||||
return NULL;
|
||||
|
|
|
|||
Loading…
Reference in a new issue