Skip to content

Setting environment variable with empty name on Windows causes assertion failure #32920

Closed
@bl-ue

Description

@bl-ue
  • Version: >=12.11.0
  • Platform: Windows
  • Subsystem: src

Setting an environment variable with an empty name on Windows causes an assertion failure:

> process.env[''] = ''
C:\Windows\System32\cmd.exe - node.exe[11140]: c:\ws\src\util.h:336: Assertion `(index) < (length())' failed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions