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

Error on reading the last record in the DBF with memo #1

Open
Youssef93 opened this issue May 28, 2020 · 0 comments
Open

Error on reading the last record in the DBF with memo #1

Youssef93 opened this issue May 28, 2020 · 0 comments

Comments

@Youssef93
Copy link

RangeError [ERR_BUFFER_OUT_OF_BOUNDS]: Attempt to access memory outside buffer bounds
    at boundsError (internal/buffer.js:74:11)
    at Buffer.readInt32LE (internal/buffer.js:380:5)
    at ~/node_modules\dbfstreammemo\index.js:122:124
    at Array.reduce (<anonymous>)
    at convertToObject (~/node_modules\dbfstreammemo\index.js:116:16)
    at ReadStream.onData (~/node_modules\dbfstreammemo\index.js:151:21)
    at ReadStream.emit (events.js:323:22)
    at emitReadable_ (_stream_readable.js:562:12)
    at onEofChunk (_stream_readable.js:540:5)
    at readableAddChunk (_stream_readable.js:242:5) {
  code: 'ERR_BUFFER_OUT_OF_BOUNDS'
}

It happens only if the dbf contains memo columns.
FoxPro version: 48: 'Visual FoxPro'

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

No branches or pull requests

1 participant