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 file content malloc to avoid reading beyond buffer #2440

Merged
merged 1 commit into from
Jul 24, 2017

Conversation

mgreter
Copy link
Contributor

@mgreter mgreter commented Jul 11, 2017

Add another byte to avoid lexer going into unallocated
memory land. End of file handling was always pretty poor
with libsass. This is just another hack and no real fix.

Somewhat related to #2126

Add another byte to avoid lexer going into unallocated
memory land. End of file handling was always pretty poor
with libsass. This is just another hack and no real fix.
@mgreter mgreter merged commit 4869c0f into sass:master Jul 24, 2017
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.

1 participant