Skip to content

os.userInfo can cause segmentation fault #12370

Closed
@tniessen

Description

@tniessen
  • Version: v6.9.2
  • Platform: all
  • Subsystem: os

os.userInfo can cause a segmentation fault in ParseEncoding:

node
> os.userInfo({ get encoding() { throw new Error(); } })
Segmentation fault

Since 88351a2, an assertion failure occurs instead, terminating the process.

Metadata

Metadata

Assignees

No one assigned

    Labels

    osIssues and PRs related to the os subsystem.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions