Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.

Fixing stack smashing bug due to invalid array access #63

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Zpeugh
Copy link

@Zpeugh Zpeugh commented Aug 20, 2019

I was getting the following error with an input DEM:

performing terra meshing...
starting greedy insertion with raster width: 1600, height: 1600
*** stack smashing detected ***: <unknown> terminated

Here is the input tif to reproduce.
dem.tif.zip

And you just call it with

tin-terrain dem2tin --input dem.tif --output mesh.obj

This PR should fix this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant