Skip to content

Fix eln2 function pointer type to match later's execLaterNative2 - #61

Merged
shikokuchuo merged 1 commit into
mainfrom
fix/eln2-uint64
Nov 6, 2026
Merged

shikokuchuo merged 1 commit into
mainfrom
fix/eln2-uint64

Conversation

@shikokuchuo

Copy link
Copy Markdown
Member

later::execLaterNative2 has returned uint64_t since later v1.0.0 (August 2019), but watcher declared the pointer as returning void. Calling through a mismatched function pointer is UB and is flagged by Clang's -fsanitize=function in the clang-asan CI job.

@shikokuchuo
shikokuchuo merged commit 8ea4a0f into main Nov 6, 2026
23 checks passed
@shikokuchuo
shikokuchuo deleted the fix/eln2-uint64 branch November 6, 2026 21:04
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.

1 participant