Skip to content
Permalink
Browse files

Fix stack overflow if void void void... is repeated many times (fix #…

  • Loading branch information
gfwilliams committed May 21, 2018
1 parent f1d7afd commit c36d30529118aa049797db43f111ddad468aad29
Showing with 2 additions and 0 deletions.
  1. +1 −0 ChangeLog
  2. +1 −0 src/jsparse.c
@@ -4,6 +4,7 @@
Fix stack size detection on Linux (fix #1427)
Fix strncat/cpy bounding issues (fix #1425)
Promises now ignore a second resolve/reject (fix #1433)
Fix stack overflow if void void void... is repeated many times (fix #1434)

1v98 : Allow Crypto SHA1 without SHA256/512 (for ESP8266 where flash is scarce)
Add better docs for the form of Wifi callback functions
@@ -1716,6 +1716,7 @@ NO_INLINE JsVar *jspeFactor() {
if (!jspCheckStackPosition()) return 0;
return jspeFactorTypeOf();
} else if (lex->tk==LEX_R_VOID) {
if (!jspCheckStackPosition()) return 0;
JSP_ASSERT_MATCH(LEX_R_VOID);
jsvUnLock(jspeUnaryExpression());
return 0;

0 comments on commit c36d305

Please sign in to comment.
You can’t perform that action at this time.