Skip to content
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

fix(relayer): bounds check for erc20 + nft data #17601

Merged
merged 4 commits into from
Jun 15, 2024
Merged

fix(relayer): bounds check for erc20 + nft data #17601

merged 4 commits into from
Jun 15, 2024

Conversation

cyberhorsey
Copy link
Contributor

@cyberhorsey cyberhorsey commented Jun 15, 2024

if a message is not ERC20 or not NFT data, it will not be long enough for the bounds check, so we should check the bounds when indexing the byte array.

@cyberhorsey cyberhorsey added this pull request to the merge queue Jun 15, 2024
Merged via the queue into main with commit 503511a Jun 15, 2024
7 checks passed
@cyberhorsey cyberhorsey deleted the slice_fix branch June 15, 2024 01:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants