Skip to content

segmentation fault for buffer.copy() with no args #1519

Closed
@timoxley

Description

@timoxley

To reproduce from the command line:

$ iojs -e "Buffer(10).copy()"
[1]    87376 segmentation fault  iojs -e "Buffer(10).copy()"

While this isn't valid input to copy, this should probably not segfault.

Tested on iojs 1.8.1. Same issue in node 0.12.2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bufferIssues and PRs related to the buffer subsystem.confirmed-bugIssues with confirmed bugs.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions