mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-14 22:10:01 -04:00
3670. [bug] Address read after free in server side of
lwres_getrrsetbyname. [RT #29075]
(cherry picked from commit eb5e0b8dec)
This commit is contained in:
parent
f87ecbd2d4
commit
f646808a22
2 changed files with 6 additions and 3 deletions
3
CHANGES
3
CHANGES
|
|
@ -1,3 +1,6 @@
|
|||
3670. [bug] Address read after free in server side of
|
||||
lwres_getrrsetbyname. [RT #29075]
|
||||
|
||||
3669. [port] freebsd: --with-gssapi needs -lhx509. [RT #35001]
|
||||
|
||||
3668. [bug] Fix cast in lex.c which could see 0xff treated as eof.
|
||||
|
|
|
|||
|
|
@ -324,9 +324,6 @@ lookup_done(isc_task_t *task, isc_event_t *event) {
|
|||
(grbn->nsigs == 1) ? "" : "s");
|
||||
}
|
||||
|
||||
dns_lookup_destroy(&client->lookup);
|
||||
isc_event_free(&event);
|
||||
|
||||
/*
|
||||
* Render the packet.
|
||||
*/
|
||||
|
|
@ -362,6 +359,9 @@ lookup_done(isc_task_t *task, isc_event_t *event) {
|
|||
|
||||
NS_LWDCLIENT_SETSEND(client);
|
||||
|
||||
dns_lookup_destroy(&client->lookup);
|
||||
isc_event_free(&event);
|
||||
|
||||
return;
|
||||
|
||||
out:
|
||||
|
|
|
|||
Loading…
Reference in a new issue