Skip to content

Pwrshplugin Config File Paths Should be Validated Before Use #5286

@mirichmo

Description

@mirichmo

The paths to CoreCLR and PSHOME read by pwrshplugin should be validated before use to protect against bad input.

A potential API to use is PathIsDirectory.

It is part of api-ms-win-shlwapi-ie-l1-1-0.dll, but that API set is not present on Windows 7 (shlwapi.dll is though).

Metadata

Metadata

Assignees

Labels

WG-RemotingPSRP issues with any transport layer

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions