From a5bb4ad5dbd08f9178e807b1e55cb449b69d8173 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Wed, 16 Mar 2005 02:44:05 +0000 Subject: [PATCH] 1834. [bug] Bad memset in rdata_test.c. [RT #13658] --- CHANGES | 2 ++ bin/tests/rdata_test.c | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGES b/CHANGES index 8fd37aedc3..44aefd0972 100644 --- a/CHANGES +++ b/CHANGES @@ -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. diff --git a/bin/tests/rdata_test.c b/bin/tests/rdata_test.c index b750c9a8fb..5b921a75fa 100644 --- a/bin/tests/rdata_test.c +++ b/bin/tests/rdata_test.c @@ -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 @@ -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);