git: 510a9e3885e7 - stable/15 - libc/aarch64: fix ELF size of timingsafe_memcmp
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 27 Sep 2025 08:51:54 UTC
The branch stable/15 has been updated by fuz:
URL: https://cgit.FreeBSD.org/src/commit/?id=510a9e3885e7852e420bea01dcb0247827ea932c
commit 510a9e3885e7852e420bea01dcb0247827ea932c
Author: Paul Floyd <pjfloyd@wanadoo.fr>
AuthorDate: 2025-09-25 19:49:08 +0000
Commit: Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2025-09-27 08:51:33 +0000
libc/aarch64: fix ELF size of timingsafe_memcmp
Looks like a copy and paste error.
The ELF size of 0 prevents Valgrind from redirecting this function.
PR: 289845
Reviewed by: fuz
Fixes: 3f224333af163d5fcd7547a20993dcf18f19076c
See also: https://bugs.kde.org/show_bug.cgi?id=509406
Pull Request: https://github.com/freebsd/freebsd-src/pull/1854
MFC after: 1 day
Event: EuroBSDcon 2025
(cherry picked from commit 7feac79331bc8c77e2f8a3e71d6ea087fa17b61d)
---
lib/libc/aarch64/string/timingsafe_memcmp.S | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/libc/aarch64/string/timingsafe_memcmp.S b/lib/libc/aarch64/string/timingsafe_memcmp.S
index 28fdd911a387..4cc10a152aa8 100644
--- a/lib/libc/aarch64/string/timingsafe_memcmp.S
+++ b/lib/libc/aarch64/string/timingsafe_memcmp.S
@@ -114,4 +114,4 @@ ENTRY(timingsafe_memcmp)
csetm w0, lo
csinc w0, w0, wzr, ls
ret
-END(timingsafe_bcmp)
+END(timingsafe_memcmp)