diff options
author | Internet Software Consortium, Inc <@isc.org> | 2011-08-20 15:47:09 -0600 |
---|---|---|
committer | Internet Software Consortium, Inc <@isc.org> | 2011-08-20 15:47:09 -0600 |
commit | 9dcbbb59f37cea46ceed2b8093280e5e23a3f498 (patch) | |
tree | fa82d28fac628ca1b6425517daaf99d5239c7bf7 /lib/dns/dns64.c | |
parent | a593e6f3a919cf95145c05b3a6c89ef0e06a2c9b (diff) | |
download | bind9-9dcbbb59f37cea46ceed2b8093280e5e23a3f498.tar.gz |
9.8.1b1
Diffstat (limited to 'lib/dns/dns64.c')
-rw-r--r-- | lib/dns/dns64.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/dns/dns64.c b/lib/dns/dns64.c index 180c0a9b..b2b4138f 100644 --- a/lib/dns/dns64.c +++ b/lib/dns/dns64.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2010 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2010, 2011 Internet Systems Consortium, Inc. ("ISC") * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -14,7 +14,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: dns64.c,v 1.6 2010-12-09 04:59:09 marka Exp $ */ +/* $Id: dns64.c,v 1.6.22.2 2011-03-12 04:59:16 tbox Exp $ */ #include <config.h> @@ -253,6 +253,8 @@ dns_dns64_aaaaok(const dns_dns64_t *dns64, const isc_netaddr_t *reqaddr, */ if (dns64->excluded == NULL) { answer = ISC_TRUE; + if (aaaaok == NULL) + goto done; for (i = 0; i < aaaaoklen; i++) aaaaok[i] = ISC_TRUE; goto done; |