Skip to content

Address memory heap corruption on Windows open dialog on long filenames#1544

Merged
jdumas merged 2 commits intolibigl:masterfrom
DarioSamo:master
Jun 15, 2020
Merged

Address memory heap corruption on Windows open dialog on long filenames#1544
jdumas merged 2 commits intolibigl:masterfrom
DarioSamo:master

Conversation

@DarioSamo
Copy link
Copy Markdown
Contributor

Should fix #1513. It seems the solution to the issue was correctly identified but no PR was made for it yet.

As far as I can tell there was a buffer (szBuffer) that was intended to be used instead of the dynamic allocation, but it was unused. I just made the structure use that buffer, which matches the size defined elsewhere.

@jdumas jdumas merged commit 238d52c into libigl:master Jun 15, 2020
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.

file_dialog_open causes heap corruption on Windows

2 participants