From: Mark Andrews Date: Wed, 16 Mar 2005 02:44:05 +0000 (+0000) Subject: 1834. [bug] Bad memset in rdata_test.c. [RT #13658] X-Git-Tag: v9.2.6b1~137^2~51 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=a5bb4ad5dbd08f9178e807b1e55cb449b69d8173;p=thirdparty%2Fbind9.git 1834. [bug] Bad memset in rdata_test.c. [RT #13658] --- diff --git a/CHANGES b/CHANGES index 8fd37aedc3f..44aefd09723 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 b750c9a8fb8..5b921a75fa3 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);