thriftrw / thriftrw-node

A thrift binary encoding library using bufrw
MIT License
57 stars 25 forks source link

Fix buffer over-read errors #171

Closed kriskowal closed 4 years ago

kriskowal commented 4 years ago

Older versions of Node.js were more hospitable to reading past the end of a buffer. This change addresses an error that occurs in tests that read past the end of the buffer to induce errors.