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

remove convertFilenameToAscii() #298

Merged
merged 1 commit into from
Feb 8, 2024

Conversation

freddy36
Copy link
Contributor

@freddy36 freddy36 commented Feb 8, 2024

avoid unnecessary string copies by removing the legacy convertFilenameToAscii() function

Fixes memory corruption when working with long file paths (convertFilenameToAscii() didn't check the target buffer size).

@tueddy
Copy link
Collaborator

tueddy commented Feb 8, 2024

This fixes second part of #272

@tueddy tueddy merged commit c171bfc into biologist79:dev Feb 8, 2024
10 checks passed
@freddy36 freddy36 deleted the remove_convertFilenameToAscii branch February 8, 2024 12:17
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.

2 participants