]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
2302. [bug] Fix memset() calls in lib/tests/t_api.c. [RT #17472]
authorMark Andrews <marka@isc.org>
Mon, 14 Jan 2008 12:43:35 +0000 (12:43 +0000)
committerMark Andrews <marka@isc.org>
Mon, 14 Jan 2008 12:43:35 +0000 (12:43 +0000)
CHANGES
lib/tests/t_api.c

diff --git a/CHANGES b/CHANGES
index 5bf601d6ed8e873444668c9b5b9c626603e01ae3..5b4c195e464f209bfec227c1d00f76cd55fd2ab5 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,5 @@
+2302.  [bug]           Fix memset() calls in lib/tests/t_api.c. [RT #17472]
+
 2301.  [bug]           Remove resource leak and fix error messages in
                        bin/tests/system/lwresd/lwtest.c. [RT #17474]
 
index 8e5b919ab36226e8aea3742fed4f640bc491f0f5..15763e96326a75ba4e0e21ee967819754d0e8cd0 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: t_api.c,v 1.60 2007/06/19 23:47:23 tbox Exp $ */
+/* $Id: t_api.c,v 1.61 2008/01/14 12:43:35 marka Exp $ */
 
 /*! \file */
 
@@ -130,7 +130,7 @@ main(int argc, char **argv) {
        /*
         * -a option is now default.
         */
-       memset(T_tvec, 0xffff, sizeof(T_tvec));
+       memset(T_tvec, 0xff, sizeof(T_tvec));
 
        /*
         * Parse args.
@@ -141,7 +141,7 @@ main(int argc, char **argv) {
                        /*
                         * Flag all tests to be run.
                         */
-                       memset(T_tvec, 0xffff, sizeof(T_tvec));
+                       memset(T_tvec, 0xff, sizeof(T_tvec));
                }
                else if (c == 'b') {
                        T_dir = isc_commandline_argument;