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

This commit is contained in:
Mark Andrews
2005-03-16 02:45:09 +00:00
parent 72386ff95e
commit 50237ee3c2
2 changed files with 4 additions and 2 deletions

View File

@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: rdata_test.c,v 1.35.12.7 2004/03/08 04:04:27 marka Exp $ */
/* $Id: rdata_test.c,v 1.35.12.8 2005/03/16 02:45:09 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);