mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
- Fix for memory leak when edns subnet config options are read when
compiled without edns subnet support.
This commit is contained in:
parent
2c4be0c201
commit
ea26e5038e
3 changed files with 544 additions and 538 deletions
|
|
@ -5,6 +5,8 @@
|
||||||
the appropriate keys to recreate that setup.
|
the appropriate keys to recreate that setup.
|
||||||
- Fix crash after reload where a stats lookup could reference old key
|
- Fix crash after reload where a stats lookup could reference old key
|
||||||
cache and neg cache structures.
|
cache and neg cache structures.
|
||||||
|
- Fix for memory leak when edns subnet config options are read when
|
||||||
|
compiled without edns subnet support.
|
||||||
|
|
||||||
10 January 2020: Wouter
|
10 January 2020: Wouter
|
||||||
- Fix the relationship between serve-expired and prefetch options,
|
- Fix the relationship between serve-expired and prefetch options,
|
||||||
|
|
|
||||||
1078
util/configparser.c
1078
util/configparser.c
File diff suppressed because it is too large
Load diff
|
|
@ -429,6 +429,7 @@ server_send_client_subnet: VAR_SEND_CLIENT_SUBNET STRING_ARG
|
||||||
fatal_exit("out of memory adding client-subnet");
|
fatal_exit("out of memory adding client-subnet");
|
||||||
#else
|
#else
|
||||||
OUTYY(("P(Compiled without edns subnet option, ignoring)\n"));
|
OUTYY(("P(Compiled without edns subnet option, ignoring)\n"));
|
||||||
|
free($2);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
;
|
;
|
||||||
|
|
@ -441,6 +442,7 @@ server_client_subnet_zone: VAR_CLIENT_SUBNET_ZONE STRING_ARG
|
||||||
fatal_exit("out of memory adding client-subnet-zone");
|
fatal_exit("out of memory adding client-subnet-zone");
|
||||||
#else
|
#else
|
||||||
OUTYY(("P(Compiled without edns subnet option, ignoring)\n"));
|
OUTYY(("P(Compiled without edns subnet option, ignoring)\n"));
|
||||||
|
free($2);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
;
|
;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue