Skip to content

Prevent FrameIterator OOB Errors#949

Merged
Headline merged 2 commits intomasterfrom
frame-it-fix
Jan 13, 2019
Merged

Prevent FrameIterator OOB Errors#949
Headline merged 2 commits intomasterfrom
frame-it-fix

Conversation

@Headline
Copy link
Member

@Headline Headline commented Jan 13, 2019

Before this patch, we'd check OOB before incrementing which makes no sense. We'll increment always this time, and change our OOB check to account for that.

Prior versions of the FrameIterator never worked, so we should probably cherry-pick this to 1.9

@Headline Headline added Bug general bugs; can be anything Works For Me tested ok for author labels Jan 13, 2019
@Headline Headline requested a review from asherkin January 13, 2019 21:22
Copy link
Member

@asherkin asherkin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems sane.

I thought about it quite a bit earlier, but there is no pattern where the existing could could have worked, is there? So this doesn't risk breaking anyone?

@Headline Headline merged commit b7e252d into master Jan 13, 2019
@Headline Headline deleted the frame-it-fix branch January 13, 2019 21:36
Headline added a commit that referenced this pull request Jan 13, 2019
@KyleSanderson
Copy link
Member

This is a regression... You should not be able to slam Next until this overflows...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug general bugs; can be anything Works For Me tested ok for author

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants