Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PoC: possible repro for issue 69 #74

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

PoC: possible repro for issue 69 #74

wants to merge 1 commit into from

Conversation

danburkert
Copy link
Owner

No description provided.

@oconnor663
Copy link

It looks like this would reproduce the scenario, yes, though I don't know if I'd actually expect it to crash. @gankro (by the power of git blame I summon thee), do you know what actually happens if we violate the rules set out in ptr::add's docs, and add an offset larger than isize::MAX? All the context on why I'm asking this is in #69.

@Gankra
Copy link

Gankra commented Sep 24, 2018

It's Undefined Behaviour and llvm is permitted to do anything and everything to your code if you do it

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.

3 participants