You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
presumes that .Address is always set having come from a composed ModuleAccount.BaseAccount, but that's a blind assumption which leads to a panic just by this code
…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
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 7c54a1c615e6f699b54ebd3ea20d7cd00890acd5
Remedy
Please check that ma.BaseAccount is non-nil
/cc @elias-orijtech
The text was updated successfully, but these errors were encountered: