Skip to content

PoC: possible repro for issue 69 - #74

Open
danburkert wants to merge 1 commit into
masterfrom
issue69
Open

PoC: possible repro for issue 69#74
danburkert wants to merge 1 commit into
masterfrom
issue69

Conversation

@danburkert

Copy link
Copy Markdown
Owner

No description provided.

@oconnor663

Copy link
Copy Markdown

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

Gankra commented Sep 24, 2018

Copy link
Copy Markdown

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