Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update embedMetadataPNG@morphic.js fix long script #3382

Merged
merged 1 commit into from
Aug 6, 2024

Conversation

DarDoro
Copy link
Contributor

@DarDoro DarDoro commented Jul 28, 2024

Fix the embedding of large >65kB scripts (XML).
The spread (...) operator may cause stack overflow (Chrome@Win10). Replaced with the "slice/concat" sequence.
The problem is described on the Snap forum. https://forum.snap.berkeley.edu/t/some-smart-script-pics-arent-working/17230

Fix processing large >65k scripts (XML). 
The spread (...) operator may cause stack overflow.
@jmoenig
Copy link
Owner

jmoenig commented Jul 29, 2024

Thank you, @DarDoro ! I'll pull this for the next patch, which - because we're currently in the throes of SnapShot - might occur only later next month.

@jmoenig jmoenig merged commit 5aef46a into jmoenig:master Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants