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

topdown/tokens: protect against nistec panics #5214

Merged
merged 3 commits into from Oct 6, 2022

Commits on Oct 6, 2022

  1. topdown/tokens: protect against nistec panics

    With Golang 1.19, the code used in crypto/elliptic has switched to nistec, and
    this introduced new panics where there hadn't been any before.
    
    To play along with this, we're adding defer/recover constructs. It's only about
    bad inputs; none of those offending points could ever be valid.
    
    Signed-off-by: Stephan Renatus <stephan.renatus@gmail.com>
    srenatus committed Oct 6, 2022
    Configuration menu
    Copy the full SHA
    96a7660 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    67cb442 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0502b22 View commit details
    Browse the repository at this point in the history