Skip to content

fs streams leak fd on invalid argument #35168

Closed
@ronag

Description

@ronag
// throws and leaks fd
fs.createReadStream(null, {
  fd,
  start: 'invalid argument'
})

Metadata

Metadata

Assignees

No one assigned

    Labels

    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