Skip to content

Commit

Permalink
Fix out of boundary vector access
Browse files Browse the repository at this point in the history
Fixes #3031
  • Loading branch information
mgreter committed Nov 4, 2019
1 parent a5226f4 commit cbf4cb8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/extender.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ namespace Sass {
// ##########################################################################
bool Extender::checkForUnsatisfiedExtends(Extension& unsatisfied) const
{
if (selectors.empty()) return false;
ExtSmplSelSet originals = getSimpleSelectors();
for (auto target : extensions) {
SimpleSelector* key = target.first;
Expand Down

0 comments on commit cbf4cb8

Please sign in to comment.