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

Prevent errors in sanitizeTTProgram, during parsing of CALL functions, when encountering invalid functions stack deltas (bug 1473809) #9886

Merged
merged 1 commit into from
Jul 15, 2018

Commits on Jul 10, 2018

  1. Prevent errors in sanitizeTTProgram, during parsing of CALL functio…

    …ns, when encountering invalid functions stack deltas (bug 1473809)
    
    *I was feeling bored; so this is a very quick, and somewhat naive, attempt at fixing the bug.*
    
    The breaking error, i.e. `Error during font loading: invalid array length`, was thrown when attempting to re-size the `stack` to a *negative* length when parsing the CALL functions.
    
    Fixes https://bugzilla.mozilla.org/show_bug.cgi?id=1473809.
    Snuffleupagus committed Jul 10, 2018
    Configuration menu
    Copy the full SHA
    2b25deb View commit details
    Browse the repository at this point in the history