2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 05:57:52 +00:00

1834. [bug] Bad memset in rdata_test.c. [RT #13658]

This commit is contained in:
Mark Andrews 2005-03-16 02:44:05 +00:00
parent 5e5b467e8c
commit a5bb4ad5db
2 changed files with 4 additions and 2 deletions

View File

@ -1,3 +1,5 @@
1834. [bug] Bad memset in rdata_test.c. [RT #13658]
1833. [bug] Race condition in isc_mutex_lock_profile(). [RT #13660]
1832. [bug] named fails to return BADKEY on unknown TSIG algorithm.

View File

@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: rdata_test.c,v 1.41 2004/03/05 04:58:39 marka Exp $ */
/* $Id: rdata_test.c,v 1.42 2005/03/16 02:44:05 marka Exp $ */
#include <config.h>
@ -920,7 +920,7 @@ main(int argc, char *argv[]) {
}
}
memset(&dctx, '0', sizeof(dctx));
memset(&dctx, 0, sizeof(dctx));
dctx.allowed = DNS_COMPRESS_ALL;
RUNTIME_CHECK(isc_mem_create(0, 0, &mctx) == ISC_R_SUCCESS);