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: RangeError [ERR_BUFFER_OUT_OF_BOUNDS] "length" is outside of buffer bounds #2026

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

Conversation

waitingsong
Copy link

@waitingsong waitingsong commented Aug 25, 2024

fix: RangeError [ERR_BUFFER_OUT_OF_BOUNDS] "length" is outside of buffer bounds since nodejs 22.7

call buf.utf8Write() conditionally, it will be called in buf.write()

ref: #2025

@waitingsong
Copy link
Author

2024-08-26_001136

@waitingsong waitingsong force-pushed the write-string-buffer branch 2 times, most recently from e3ad74e to 94be511 Compare August 25, 2024 16:52
…fer bounds since nodejs 22.7

call buf.utf8Write() conditionally,  it will be called in buf.write()

ref: protobufjs#2025
basti1302 added a commit to dash0hq/opentelemetry-js-distribution that referenced this pull request Aug 28, 2024
basti1302 added a commit to dash0hq/opentelemetry-js-distribution that referenced this pull request Aug 28, 2024
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.

1 participant