From c0a6cf39dea9b2522a08d61b731bc72dfb362584 Mon Sep 17 00:00:00 2001 From: xzyfer Date: Thu, 21 Jun 2018 21:21:26 +1000 Subject: [PATCH] Fix handling of unclosed interpolant in url Fixes #2661 --- src/parser.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/parser.cpp b/src/parser.cpp index 3053aaf4f..2933ec708 100644 --- a/src/parser.cpp +++ b/src/parser.cpp @@ -2163,6 +2163,7 @@ namespace Sass { while (pp && peek< exactly< hash_lbrace > >(pp)) { pp = sequence< interpolant, real_uri_value >(pp); } + if (!pp) return 0; position = pp; return parse_interpolated_chunk(Token(p, position)); }