Skip to content

fix(node): Check buffer length when attempting to parse ANR frame #9314

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

Merged
merged 1 commit into from
Oct 19, 2023

Conversation

AbhiPrasad
Copy link
Member

fixes #9307

Reading from the buffer requires the buffer to have at least two items, which we now account for. Not sure how exactly this can happen though.

@AbhiPrasad AbhiPrasad requested a review from timfish October 19, 2023 15:14
@AbhiPrasad AbhiPrasad merged commit 1c2b829 into develop Oct 19, 2023
@AbhiPrasad AbhiPrasad deleted the abhi-check-buff-length branch October 19, 2023 16:07
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.

RangeError: The value of "offset" is out of range (ANR)
2 participants