- 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:
Wouter Wijngaards 2016-09-29 08:08:51 +00:00
parent 52dbaa4ac1
commit 3334ab389c
2 changed files with 2 additions and 1 deletions

View file

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

View file

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