Skip to content

Large PDFs: RangeError on String.fromCharCode.apply... #18

@jvilk

Description

@jvilk

If you use String.fromCharCode.apply(String, some_array) with an array that is too large (typically 64K), it will result in a stack overflow in most browsers.

This is a problem here:
https://github.com/manuels/texlive.js/blob/master/pre.js#L97

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions