Skip to content
Permalink
Browse files Browse the repository at this point in the history
Fix stack overflow if void void void... is repeated many times (fix #…
  • Loading branch information
gfwilliams committed May 21, 2018
1 parent f1d7afd commit c36d305
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions ChangeLog
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions src/jsparse.c
Expand Up @@ -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;
Expand Down

0 comments on commit c36d305

Please sign in to comment.