Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: RangeError [ERR_BUFFER_OUT_OF_BOUNDS] "length" is outside of buffer bounds #2026

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
waitingsong wants to merge 1 commit into protobufjs:master
base: master
Choose a base branch
Loading
from waitingsong:write-string-buffer

Conversation

Copy link

@waitingsong waitingsong commented Aug 25, 2024
edited
Loading

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

leomongeg reacted with thumbs up emoji
Copy link
Author

@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
Copy link

oskrim commented Sep 1, 2025
edited
Loading

What is preventing this from getting merged? This bug prevents using the library on Node.js 24.x.x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /