Skip to content

Conversation

vonosmas
Copy link
Contributor

It is undefined behaviour to construct a pointer that is out-of-bounds, not just to use it.

This is a follow-up to commit 9391cd9 which fixed the same problem (detected by -fsanitize=array-bounds) in MallocBench/cfrac.

It is undefined behaviour to construct a pointer that is out-of-bounds,
not just to use it.

This is a follow-up to commit 9391cd9
which fixed the same problem (detected by -fsanitize=array-bounds)
in MallocBench/cfrac.
@vonosmas vonosmas requested review from fmayer and vitalybuka April 17, 2025 23:58
@vonosmas vonosmas merged commit 0bda000 into llvm:main Apr 18, 2025
1 check passed
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