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

Buffer read out of bounds in node-typedstream but no exception in the python version #1

Open
jonluca opened this issue Apr 12, 2023 · 0 comments · May be fixed by #2
Open

Buffer read out of bounds in node-typedstream but no exception in the python version #1

jonluca opened this issue Apr 12, 2023 · 0 comments · May be fixed by #2

Comments

@jonluca
Copy link

jonluca commented Apr 12, 2023

Attached is the file which has this issue

out.txt

RangeError [ERR_BUFFER_OUT_OF_BOUNDS]: Attempt to access memory outside buffer bounds
    at new NodeError (node:internal/errors:399:5)
    at boundsError (node:internal/buffer:86:11)
    at Buffer.readUInt32LE (node:internal/buffer:222:5)
    at TypedStreamReader.readInteger (/Users/jonlucadecaro/Documents/Other/mimessage/build/electron-src/data/worker.js:141428:36)
    at TypedStreamReader.readUnsharedString (/Users/jonlucadecaro/Documents/Other/mimessage/build/electron-src/data/worker.js:141495:25)
    at TypedStreamReader.readValueWithEncoding (/Users/jonlucadecaro/Documents/Other/mimessage/build/electron-src/data/worker.js:141659:18)
    at readValueWithEncoding.next (<anonymous>)
    at TypedStreamReader.readTypedValues (/Users/jonlucadecaro/Documents/Other/mimessage/build/electron-src/data/worker.js:141723:19)
    at readTypedValues.next (<anonymous>)
    at TypedStreamReader.readObject (/Users/jonlucadecaro/Documents/Other/mimessage/build/electron-src/data/worker.js:141617:21) {
  code: 'ERR_BUFFER_OUT_OF_BOUNDS'
}
@jonluca jonluca linked a pull request Apr 12, 2023 that will close this issue
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 a pull request may close this issue.

1 participant