3670. [bug] Address read after free in server side of

lwres_getrrsetbyname. [RT #29075]

(cherry picked from commit eb5e0b8dec)
This commit is contained in:
Mark Andrews
2013-11-12 15:00:03 +11:00
parent a5be0bbbe4
commit 369ccd68ca
2 changed files with 6 additions and 3 deletions

View File

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

View File

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