mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-01 15:05:23 +00:00
3072. [bug] dns_dns64_aaaaok() potential NULL pointer dereference.
[RT #20256]
This commit is contained in:
3
CHANGES
3
CHANGES
@@ -1,3 +1,6 @@
|
|||||||
|
3072. [bug] dns_dns64_aaaaok() potential NULL pointer dereference.
|
||||||
|
[RT #20256]
|
||||||
|
|
||||||
3071. [bug] has_nsec could be used unintialised in
|
3071. [bug] has_nsec could be used unintialised in
|
||||||
update.c:next_active. [RT #20256]
|
update.c:next_active. [RT #20256]
|
||||||
|
|
||||||
|
@@ -14,7 +14,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: dns64.c,v 1.6 2010/12/09 04:59:09 marka Exp $ */
|
/* $Id: dns64.c,v 1.7 2011/03/11 13:02:33 marka Exp $ */
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
@@ -253,6 +253,8 @@ dns_dns64_aaaaok(const dns_dns64_t *dns64, const isc_netaddr_t *reqaddr,
|
|||||||
*/
|
*/
|
||||||
if (dns64->excluded == NULL) {
|
if (dns64->excluded == NULL) {
|
||||||
answer = ISC_TRUE;
|
answer = ISC_TRUE;
|
||||||
|
if (aaaaok == NULL)
|
||||||
|
goto done;
|
||||||
for (i = 0; i < aaaaoklen; i++)
|
for (i = 0; i < aaaaoklen; i++)
|
||||||
aaaaok[i] = ISC_TRUE;
|
aaaaok[i] = ISC_TRUE;
|
||||||
goto done;
|
goto done;
|
||||||
|
Reference in New Issue
Block a user