-
Notifications
You must be signed in to change notification settings - Fork 95
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
Stack overflow issue in scalecodec while decoding inputs #425
Comments
@mmostafas Could you check whether this PR fixes your issue? |
@mmostafas Thanks for the explanation on how to reproduce it! I confirm I can reproduce the issue. I'll fix it. |
I've found why this happens; it's due to this upstream rustc bug: The |
Okay, I think I fixed it this time! |
I can confirm this fixes our issues. Thanks @koute. |
There is an stack overflow issue in the parity-scale-codec crate that crashes while decoding inputs. We ran into this issue when decoding an XCM call but we believe it can be triggered from other code paths as well.
Here is a tests that triggers this bug:
Please note that the depth limit of
20
is used here which is relatively low.There is also a similar issue submitted here.
The text was updated successfully, but these errors were encountered: