Commit 586db4a3 authored by Mukund Sivaraman's avatar Mukund Sivaraman
Browse files

3900. [bug] Fix a crash in PostgreSQL DLZ driver. [RT #36637]

Squashed commit of the following:

commit ebdade4dfe59fc11d3c4ad8111729f722aab2008
Author: Mukund Sivaraman <muks@isc.org>
Date:   Thu Jul 24 22:52:54 2014 +0530

    Move statement to be after comment

commit 4b5d6a33350a469afb8e273bc552055824a32570
Author: Mukund Sivaraman <muks@isc.org>
Date:   Thu Jul 24 21:42:52 2014 +0530

    Return NULL in *rs so that caller doesn't PQclear() it again
parent 54890cfd
3900. [bug] Fix a crash in PostgreSQL DLZ driver. [RT #36637]
3899. [bug] "request-ixfr" is only applicable to slave and redirect
zones. [RT #36608]
......
......@@ -577,6 +577,7 @@ postgres_get_resultset(const char *zone, const char *record,
#endif
PQclear(*rs); /* get rid of it */
/* in case this was the last attempt */
*rs = NULL;
result = ISC_R_FAILURE;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment