]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
lib/replace: memset_explicit() only takes three arguments
authorThomas Klausner <wiz@gatalith.at>
Sun, 10 Nov 2024 07:37:17 +0000 (08:37 +0100)
committerVolker Lendecke <vl@samba.org>
Mon, 11 Nov 2024 16:47:46 +0000 (16:47 +0000)
Signed-off-by: Thomas Klausner <wiz@gatalith.at>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Mon Nov 11 16:47:46 UTC 2024 on atb-devel-224

lib/replace/replace.c

index 359f43352bd3b8100cc5066b6f4245f1cce17c7f..68e0a38bca6171d2bc3dee3240927cdcd652e8f5 100644 (file)
@@ -970,7 +970,7 @@ int rep_memset_s(void *dest, size_t destsz, int ch, size_t count)
        }
 
 #if defined(HAVE_MEMSET_EXPLICIT)
-       memset_explicit(dest, destsz, ch, count);
+       memset_explicit(dest, ch, count);
 #else /* HAVE_MEMSET_EXPLICIT */
        memset(dest, ch, count);
 # if defined(HAVE_GCC_VOLATILE_MEMORY_PROTECTION)