609. [bug] getrrsetbyname() would crash lwresd if the server

found more SIGs than answers. [RT #554]
This commit is contained in:
Brian Wellington
2000-12-12 07:25:04 +00:00
parent b74896ead5
commit bf00f50cf4
2 changed files with 5 additions and 2 deletions
+3
View File
@@ -1,4 +1,7 @@
609. [bug] getrrsetbyname() would crash lwresd if the server
found more SIGs than answers. [RT #554]
608. [func] dnssec-signzone now adds a comment to the zone
with the time the file was signed.
+2 -2
View File
@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: lwdgrbn.c,v 1.3 2000/12/11 23:09:38 marka Exp $ */
/* $Id: lwdgrbn.c,v 1.4 2000/12/12 07:25:04 bwelling Exp $ */
#include <config.h>
@@ -167,7 +167,7 @@ lookup_done(isc_task_t *task, isc_event_t *event) {
result == ISC_R_SUCCESS;
result = dns_rdataset_next(sigrdataset))
{
INSIST(i < grbn->nrdatas);
INSIST(i < grbn->nsigs);
dns_rdataset_current(sigrdataset, &rdata);
dns_rdata_toregion(&rdata, &r);
grbn->sigs[i] = r.base;