Sitelet https://github.com/nodejs/node/issues/1550
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)

Activity

  1. added
    fsIssues and PRs related to file-system APIs and the fs module.
    on Apr 28, 2015
  2. cjihrig commented on Apr 28, 2015

    @cjihrig
    Contributor

    Fixed in f9c681c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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