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.

@ricmoo ricmoo added bug Verified to be an issue. on-deck This Enhancement or Bug is currently being worked on. v6 Issues regarding v6 next-patch Issues scheduled for the next arch release. labels Aug 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Verified to be an issue. next-patch Issues scheduled for the next arch release. on-deck This Enhancement or Bug is currently being worked on. v6 Issues regarding v6
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)
2 participants