-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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/auth/types: ModuleAccount.Validate() should check that its .BaseAccount is non-nil lest experience a crash #16552
Labels
Comments
odeke-em
added a commit
that referenced
this issue
Jun 14, 2023
…ount.Validate This change ensures that ModuleAccount.Validate flags nil .BaseAccount to avoid a nil pointer dereference. This bug was found by fuzzing cosmos/gaia. Fixes #16552
odeke-em
added a commit
that referenced
this issue
Jun 14, 2023
…ount.Validate This change ensures that ModuleAccount.Validate flags nil .BaseAccount to avoid a nil pointer dereference. This bug was found by fuzzing cosmos/gaia. Fixes #16552
odeke-em
added a commit
that referenced
this issue
Jun 14, 2023
…ount.Validate This change ensures that ModuleAccount.Validate flags nil .BaseAccount to avoid a nil pointer dereference. This bug was found by fuzzing cosmos/gaia. Fixes #16552
odeke-em
added a commit
that referenced
this issue
Jun 14, 2023
…ount.Validate This change ensures that ModuleAccount.Validate flags nil .BaseAccount to avoid a nil pointer dereference. This bug was found by fuzzing cosmos/gaia. Fixes #16552
odeke-em
added a commit
that referenced
this issue
Jun 14, 2023
…ount.Validate This change ensures that ModuleAccount.Validate flags nil .BaseAccount to avoid a nil pointer dereference. This bug was found by fuzzing cosmos/gaia. Fixes #16552
odeke-em
added a commit
that referenced
this issue
Jun 15, 2023
…ount.Validate This change ensures that ModuleAccount.Validate flags nil .BaseAccount to avoid a nil pointer dereference. This bug was found by fuzzing cosmos/gaia. Fixes #16552
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary of Bug
I found this panic but fuzzing cosmos/gaia/app whereby
This code in
cosmos-sdk/x/auth/types/account.go
Line 221 in bbb452f
which results in this crash
Version
The latest at 7c54a1c
Remedy
Please check that ma.BaseAccount is non-nil
/cc @elias-orijtech
The text was updated successfully, but these errors were encountered: