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 segfault in display.update #2954

Merged
merged 3 commits into from Dec 26, 2021
Merged

fix segfault in display.update #2954

merged 3 commits into from Dec 26, 2021

Conversation

ankith26
Copy link
Contributor

A regression of the latest 2.1.1 release, display.update can segfault on some kinds of inputs

@Starbuck5
Copy link
Contributor

some kinds of inputs = list of rects, also incorrect input will segfault it

This means the aliens example segfaults in 2.1.1

regression from 17298e4#diff-e6e90037fae974fd4cb565f9dcde4d003062eb172fb5c4132e2b2d994c29d8ad

@illume illume force-pushed the ankith26-display-update-fix branch 2 times, most recently from 1e473bf to 0acc385 Compare December 26, 2021 15:00
illume and others added 2 commits December 26, 2021 17:24
We have an interactive test, because there's no easy way to get
the screen pixels and see if the window only updates in the areas
given.

This is not perfect, because when running interactive the tests
run twice... once interactive, and once not. But it's still better
than repeating all the tests?
@illume illume merged commit d294494 into main Dec 26, 2021
@illume illume deleted the ankith26-display-update-fix branch December 26, 2021 17:09
@ankith26 ankith26 added display pygame.display segfault labels Feb 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
display pygame.display segfault
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants