You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RangeError: Maximum call stack size exceeded
at RegExp.exec <anonymous>
at Object.parse https://diffhtml.org/es/util/parse:303:19
at Array.parseNewTree https://diffhtml.org/es/tasks/parse-new-tree:17:38
at Transaction.flow https://diffhtml.org/es/transaction:63:24
at Transaction.start https://diffhtml.org/es/transaction:176:24
at innerHTML https://diffhtml.org/es/inner-html:22:51
at :13:3
The text was updated successfully, but these errors were encountered:
CetinSert
changed the title
innerHTML → Maximum call stack size exceededinnerHTML → Maximum call stack size exceeded
Jun 29, 2024
Large HTML attributes cause excessive backtracking in
attribute.exec
, and fail due to call stack size exhaustion!diffhtml/packages/diffhtml/lib/util/parse.js
Line 303 in 39b94aa
Browsers behave as follows for the reproduction case given below:
3_355_404
3_355_405
1_677_689
1_677_690
999_972
999_973
Below is a self-contained reproduction.
which results in
diffhtml/packages/diffhtml/lib/util/parse.js
Line 303 in 39b94aa
The text was updated successfully, but these errors were encountered: