mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-25 17:48:07 +02:00
[JS] Use heap allocation when initializing quickjs sandbox (#13286)
- In case of large string the sandbox initialization failed because of an OOM * so allocate a new string in the heap * and free it after use. - it requires a quickjs update since we need to export some symbols (stringToNewUTF8 and free).
This commit is contained in:
parent
57a1ea840f
commit
762cfd2d1b
2 changed files with 30 additions and 23 deletions
43
external/quickjs/quickjs-eval.js
vendored
43
external/quickjs/quickjs-eval.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue