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 for falsely diagnosed buffer overflow when EOF without newline is re... #16

Merged
merged 1 commit into from
May 21, 2012

Conversation

foxtacles
Copy link
Contributor

If there is no \n at the end of the file, iniparser detects that as buffer overflow. A call to check for EOF fixes this

ndevilla added a commit that referenced this pull request May 21, 2012
Fix for falsely diagnosed buffer overflow when EOF without newline is re...
@ndevilla ndevilla merged commit 2e01cec into ndevilla:master May 21, 2012
@ndevilla
Copy link
Owner

Thanks!

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