Skip to content

fs.write crashes on non-integer fd #1550

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 and PRs for confirmed bugs.fsIssues and PRs related to file-system APIs and the fs module.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions