Skip to content

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

Merged
AbhiPrasad merged 1 commit intodevelopfrom
abhi-check-buff-length
Oct 19, 2023
Merged

fix(node): Check buffer length when attempting to parse ANR frame#9314
AbhiPrasad merged 1 commit intodevelopfrom
abhi-check-buff-length

Conversation

@AbhiPrasad
Copy link
Contributor

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