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(node): deepCopy not working for large Buffers #909

Merged
merged 1 commit into from
Dec 29, 2020

Commits on Dec 10, 2020

  1. fix(node): deepCopy not working for large Buffers

    deepCopy does not work when copying an object
    with a large Buffer (see test case).
    
    This causes issues when using multipartUpload with the
    `checkpoint` option: e.g.
    
    ```js
    const file = Buffer.alloc(Math.pow(2, 30) - 1);
    // throws RangeError in utils/deepCopy
    multipartUpload("name", file, {checkpoint: {file, ...}});
    ```
    aloisklink committed Dec 10, 2020
    Configuration menu
    Copy the full SHA
    93235cf View commit details
    Browse the repository at this point in the history