Skip to content

Conversation

@paulfloyd
Copy link
Owner

Looks like a copy and paste error, using timingsafe_bcmp instead of timingsafe_memcmp.

This causes the ELF function size to be 0. And that prevents Valgrind from being able to redirect this symbol.

I've also logged a Bugzilla item
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289845

Looks like a copy and paste error, using timingsafe_bcmp instead of timingsafe_memcmp.

This causes the ELF function size to be 0. And that prevents Valgrind from being able to redirect this symbol.
@github-actions
Copy link

Thank you for taking the time to contribute to FreeBSD!
There is an issue that needs to be fixed:

  • Missing Signed-off-by lines1e4b486

Please review CONTRIBUTING.md, then update and push your branch again.

@paulfloyd paulfloyd changed the title Fix use of the END macro libc aarch64: Fix use of the END macro for timingsafe_memcmp Sep 25, 2025
@paulfloyd
Copy link
Owner Author

I made the change directly in GitHub when I saw that it was very small, which is why there is no signed-off-by: line.

@paulfloyd paulfloyd closed this Sep 25, 2025
@paulfloyd paulfloyd deleted the paulfloyd-patch-1 branch September 25, 2025 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants