]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Fix the isc_safe_memwipe() usage with (NULL, >0)
authorOndřej Surý <ondrej@sury.org>
Fri, 20 Jul 2018 14:08:24 +0000 (10:08 -0400)
committerOndřej Surý <ondrej@sury.org>
Fri, 20 Jul 2018 14:08:24 +0000 (10:08 -0400)
lib/isc/tests/safe_test.c

index 5204c80e1a4993b7fd6ac2eafdbcbc71c676eeb5..ea3e61f98d0cc47993126928b7cc6891c8e2f0df 100644 (file)
@@ -49,7 +49,6 @@ ATF_TC_BODY(isc_safe_memwipe, tc) {
        /* These should pass. */
        isc_safe_memwipe(NULL, 0);
        isc_safe_memwipe((void *) -1, 0);
-       isc_safe_memwipe(NULL, 42);
 
        /*
         * isc_safe_memwipe(ptr, size) should function same as