Skip to content

Conversation

@nikic
Copy link
Contributor

@nikic nikic commented Dec 12, 2024

The --heap results in an out of bounds pointer index. Fix this by subtracting 1 during indexing instead.

The `--heap` results in an out of bounds pointer index. Fix this by subtracting 1 during indexing instead.
@serge-sans-paille
Copy link

Looks good, funny to see a benchmark having some UB ^^!

@serge-sans-paille
Copy link

I have access to a machine where I was able to reproduce the issue, let me confirm your patch works.

@serge-sans-paille
Copy link

works like a charm!

@nikic nikic merged commit 4d1cd7c into llvm:main Dec 13, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants