Skip to content

When CCIP-Read is enabled and tx is rejected, check length of data before slicing #4983

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

joksnet
Copy link

@joksnet joksnet commented May 7, 2025

Fixes #4982

Call exceptions that are not CCIP-Read and returns data: 0x (less than 4 bytes) throws an unrelated error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CCIP Read throws BUFFER_OVERRUN when error.data is less than 4 bytes (0x for example)
1 participant