-
Notifications
You must be signed in to change notification settings - Fork 61
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
x/interchainstaking/types: DetermineAllocationsForUndelegation should defensively guard that lookups from availablePerValidator map could returns an empty coin which could panic when compared against #1545
Comments
odeke-em
added a commit
to orijtech/quicksilver
that referenced
this issue
May 1, 2024
…elegation This change introduces a fuzzer for DetermineAllocationsForUndelegation as well as fixes for the identified non-defensive bugs that were reported from ~1.5hr of fuzzing. Fixes quicksilver-zone#1544 Fixes quicksilver-zone#1545 Fixes quicksilver-zone#1546
odeke-em
added a commit
to orijtech/quicksilver
that referenced
this issue
May 1, 2024
…elegation This change introduces a fuzzer for DetermineAllocationsForUndelegation as well as fixes for the identified non-defensive bugs that were reported from ~1.5hr of fuzzing. Fixes quicksilver-zone#1544 Fixes quicksilver-zone#1545 Fixes quicksilver-zone#1546
odeke-em
added a commit
to orijtech/quicksilver
that referenced
this issue
May 1, 2024
…elegation This change introduces a fuzzer for DetermineAllocationsForUndelegation as well as fixes for the identified non-defensive bugs that were reported from ~1.5hr of fuzzing. Fixes quicksilver-zone#1544 Fixes quicksilver-zone#1545 Fixes quicksilver-zone#1546
odeke-em
added a commit
to orijtech/quicksilver
that referenced
this issue
May 1, 2024
…elegation+DetermineAllocationsForUndelegationPredef This change introduces fuzzers for: * DetermineAllocationsForUndelegation * DetermineAllocationsForUndelegationPredef as well as fixes for the identified non-defensive bugs that were reported from ~2.2hr of fuzzing. Fixes quicksilver-zone#1544 Fixes quicksilver-zone#1545 Fixes quicksilver-zone#1546
odeke-em
added a commit
to orijtech/quicksilver
that referenced
this issue
May 2, 2024
…elegation+DetermineAllocationsForUndelegationPredef This change introduces fuzzers for: * DetermineAllocationsForUndelegation * DetermineAllocationsForUndelegationPredef as well as fixes for the identified non-defensive bugs that were reported from ~2.2hr of fuzzing. Fixes quicksilver-zone#1544 Fixes quicksilver-zone#1545 Fixes quicksilver-zone#1546
5 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary of Bug
Found through fuzzing that given these inputs
in this code repro below
Panics
"{\"Cur_AlloCs\":{\"\":\"0\"},\"Amount\":[{\"Amount\":\"1\"}]}"
"{\"Cur_AlloCs\":{\"\":\"1\"},\"Amount\":[{\"Amount\":\"1\"}]}"
Version
Remedies
/cc @faddat @tropicaldog @joe-bowman
For Admin Use
The text was updated successfully, but these errors were encountered: