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

crypto: check for valid iteration length in pbkdf2 #3173

Closed
wants to merge 1 commit into from

Commits on Jun 15, 2016

  1. crypto: check for valid iteration length in pbkdf2

    An iteration length of NaN or Infinity is currently silently coerced to
    0, which is more or less undefined behaviour. This commit makes NaN and
    Infinity invalid iteration parameter values.
    
    We're doing the same checks for other parameters already, so it would
    make sense to be consistent here.
    Johann authored and johannhof committed Jun 15, 2016
    Configuration menu
    Copy the full SHA
    3f25cfd View commit details
    Browse the repository at this point in the history