Skip to content

bad argument in arithmetic expression: 6 * 4.83472340425532e307 #21

@krainboltgreene

Description

@krainboltgreene

Password was quite long.

 ** (ArithmeticError) bad argument in arithmetic expression: 6 * 4.83472340425532e307
 code: Core.Users.update_account_password(account, valid_account_password(), %{
 stacktrace:
   :erlang.*(6, 4.83472340425532e307)
   (zxcvbn 0.1.3) lib/zxcvbn/scoring.ex:440: ZXCVBN.Scoring.update/5
   (stdlib 5.2) maps.erl:416: :maps.fold_1/4
   (elixir 1.16.2) lib/enum.ex:2528: Enum."-reduce/3-lists^foldl/2-0-"/3
   (elixir 1.16.2) lib/enum.ex:4388: Enum.reduce_range/5
   (zxcvbn 0.1.3) lib/zxcvbn/scoring.ex:91: ZXCVBN.Scoring.most_guessable_match_sequence/3
   (zxcvbn 0.1.3) lib/zxcvbn.ex:96: ZXCVBN.zxcvbn/2

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