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

Fix a buffer underrun in CalculateZSlope. #1960

Merged
merged 1 commit into from Jan 25, 2015

Conversation

phire
Copy link
Member

@phire phire commented Jan 25, 2015

if the vertex buffer contained less than 3 vertices, (say trying to render a single line, or one/two points) then this could underrun and potentially cause a segfault.

@JMC47
Copy link
Contributor

JMC47 commented Jan 25, 2015

I played the Prisoner's of Maw mission 3 times and crashed 0 times so far. In master, 5 runs resulted in 4 crashes.

delroth added a commit that referenced this pull request Jan 25, 2015
Fix a buffer underrun in CalculateZSlope.
@delroth delroth merged commit a93433a into dolphin-emu:master Jan 25, 2015
@phire phire deleted the zfreeze-buffer-underrun branch July 4, 2015 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants