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 some segfaults caused by the parser being too forgiving #2367

Merged
merged 3 commits into from
May 2, 2017

Conversation

xzyfer
Copy link
Contributor

@xzyfer xzyfer commented May 2, 2017

Originally reported by @MrTuxracer via HackerOne.

Spec sass/sass-spec#1103

Forcing whitespace trimming makes it impossible to match some Ruby
Sass error messages.
@xzyfer xzyfer merged commit 4ccec02 into sass:master May 2, 2017
@xzyfer xzyfer deleted the fix-segfault branch May 2, 2017 16:13
xzyfer added a commit that referenced this pull request May 2, 2017
* Make whitespace trimming in parser error messages optional

Forcing whitespace trimming makes it impossible to match some Ruby
Sass error messages.

* Fix segault when support conditions is missing

Originally reported by @MrTuxracer

* Fix segault when while predicate is missing

Originally reported by @MrTuxracer
xzyfer added a commit that referenced this pull request May 2, 2017
* Make whitespace trimming in parser error messages optional

Forcing whitespace trimming makes it impossible to match some Ruby
Sass error messages.

* Fix segault when support conditions is missing

Originally reported by @MrTuxracer

* Fix segault when while predicate is missing

Originally reported by @MrTuxracer
xzyfer added a commit that referenced this pull request May 2, 2017
* Make whitespace trimming in parser error messages optional

Forcing whitespace trimming makes it impossible to match some Ruby
Sass error messages.

* Fix segault when support conditions is missing

Originally reported by @MrTuxracer

* Fix segault when while predicate is missing

Originally reported by @MrTuxracer
xzyfer added a commit that referenced this pull request May 2, 2017
* Make whitespace trimming in parser error messages optional

Forcing whitespace trimming makes it impossible to match some Ruby
Sass error messages.

* Fix segault when support conditions is missing

Originally reported by @MrTuxracer

* Fix segault when while predicate is missing

Originally reported by @MrTuxracer
xzyfer added a commit that referenced this pull request May 2, 2017
* Make whitespace trimming in parser error messages optional

Forcing whitespace trimming makes it impossible to match some Ruby
Sass error messages.

* Fix segault when support conditions is missing

Originally reported by @MrTuxracer

* Fix segault when while predicate is missing

Originally reported by @MrTuxracer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant