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

jp3d: Replace sprintf() by snprintf() in volumetobin() #1101

Merged
merged 1 commit into from
Mar 4, 2018

Conversation

kbabioch
Copy link
Contributor

@kbabioch kbabioch commented Mar 3, 2018

This replaces the unsafe sprintf() invocation by the safer snprintf()
one, with the correct buffer size to prevent buffer overflows.

This fixes #1085.

This replaces the unsafe sprintf() invocation by the safer snprintf()
one, with the correct buffer size to prevent buffer overflows.

This fixes uclouvain#1085.
@rouault rouault merged commit b02e0d9 into uclouvain:master Mar 4, 2018
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.

sprintf buffer overflow
2 participants