mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-01 06:55:30 +00:00
3275. [bug] "use out of scope" bug in unit test master_test.
[RT# 27674]
This commit is contained in:
3
CHANGES
3
CHANGES
@@ -1,3 +1,6 @@
|
|||||||
|
3275. [bug] "use out of scope" bug in unit test master_test.
|
||||||
|
[RT# 27674]
|
||||||
|
|
||||||
3274. [placeholder]
|
3274. [placeholder]
|
||||||
|
|
||||||
3273. [bug] AAAA responses could be returned in the additional
|
3273. [bug] AAAA responses could be returned in the additional
|
||||||
|
@@ -14,7 +14,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: master_test.c,v 1.9 2012/01/31 23:47:33 tbox Exp $ */
|
/* $Id: master_test.c,v 1.10 2012/02/01 00:20:09 marka Exp $ */
|
||||||
|
|
||||||
/*! \file */
|
/*! \file */
|
||||||
|
|
||||||
@@ -48,6 +48,8 @@ static dns_masterrawheader_t header;
|
|||||||
static isc_boolean_t headerset;
|
static isc_boolean_t headerset;
|
||||||
|
|
||||||
dns_name_t dns_origin;
|
dns_name_t dns_origin;
|
||||||
|
char origin[sizeof(TEST_ORIGIN)];
|
||||||
|
unsigned char name_buf[BUFLEN];
|
||||||
dns_rdatacallbacks_t callbacks;
|
dns_rdatacallbacks_t callbacks;
|
||||||
char *include_file = NULL;
|
char *include_file = NULL;
|
||||||
|
|
||||||
@@ -82,10 +84,8 @@ static isc_result_t
|
|||||||
setup_master() {
|
setup_master() {
|
||||||
isc_result_t result;
|
isc_result_t result;
|
||||||
int len;
|
int len;
|
||||||
char origin[sizeof(TEST_ORIGIN)];
|
|
||||||
isc_buffer_t source;
|
isc_buffer_t source;
|
||||||
isc_buffer_t target;
|
isc_buffer_t target;
|
||||||
unsigned char name_buf[BUFLEN];
|
|
||||||
|
|
||||||
strcpy(origin, TEST_ORIGIN);
|
strcpy(origin, TEST_ORIGIN);
|
||||||
len = strlen(origin);
|
len = strlen(origin);
|
||||||
|
Reference in New Issue
Block a user