From 19e516dd8efb92bec5cd41bf618f9919f743e480 Mon Sep 17 00:00:00 2001
From: Martin Nilsson <nilsson@opera.com>
Date: Fri, 21 Feb 2014 16:31:45 +0100
Subject: [PATCH] Fix stack overflow with #require

---
 src/cpp.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/cpp.c b/src/cpp.c
index 552d601b61..52c9c85629 100644
--- a/src/cpp.c
+++ b/src/cpp.c
@@ -2745,6 +2745,7 @@ void f_cpp(INT32 args)
   else if(this.dependencies_fail)
   {
     free_string_builder(&this.buf);
+    pop_n_elems(sp - save_sp);
     push_int(0);
   }
   else
-- 
GitLab