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

fix: prevent crash when the pad amount is negative #8747

Merged
merged 1 commit into from
Jun 30, 2022

Commits on Jun 23, 2022

  1. Prevent crash when the pad amount is negative

    If the start is less than the (count - lineLength) + 1 pad will be negative and cause the call to repeat on line 477 to crash with an uncaught RangeError.
    Haegin authored Jun 23, 2022
    Configuration menu
    Copy the full SHA
    5b0e1cb View commit details
    Browse the repository at this point in the history