Skip to content

fs.write crashes on non-integer fd #1550

Closed
@monsanto

Description

@monsanto
fs.write(null, new Buffer(1), 0, 1)

iojs: ../src/node_file.cc:782: void node::WriteBuffer(const v8::FunctionCallbackInfo<v8::Value>&): Assertion `args[0]->IsInt32()' failed.
Aborted (core dumped)

Metadata

Metadata

Assignees

No one assigned

    Labels

    confirmed-bugIssues with confirmed bugs.fsIssues and PRs related to the fs subsystem / file system.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions