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:core:prevent stack overflow on drawing huge polygons #897

Merged
merged 2 commits into from Oct 6, 2019

Conversation

metalstrolch
Copy link
Contributor

This commit prevents c_alloca from flooding the stack if we have to deal
with really huge polygons. Use slower g_malloc instead.

This commit prevents c_alloca from flooding the stack if we have to deal
with really huge polygons. Use slower g_maalloc instead.
@metalstrolch
Copy link
Contributor Author

No objections. Off we go

@metalstrolch metalstrolch merged commit 47f9ece into trunk Oct 6, 2019
@metalstrolch metalstrolch deleted the huge_poly_drawing branch October 28, 2019 12:28
hoehnp pushed a commit that referenced this pull request Nov 4, 2019
This commit prevents c_alloca from flooding the stack if we have to deal
with really huge polygons. Use slower g_maalloc instead.
viktorgino pushed a commit that referenced this pull request Sep 22, 2020
This commit prevents c_alloca from flooding the stack if we have to deal
with really huge polygons. Use slower g_maalloc instead.
jkoan pushed a commit to jkoan/navit that referenced this pull request Jun 30, 2021
This commit prevents c_alloca from flooding the stack if we have to deal
with really huge polygons. Use slower g_maalloc instead.
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.

None yet

1 participant