guardicore / guardicore/monkey

Escape characters in Windows paths

Open
#1,910 0 comments 0 reactions 0 assignees View on GitHub
Bug Complexity: Low Impact: Medium
Dominant language
Python
Stars
7.1k
Forks
830
PR merge metrics
No merged PRs in 30d

Description

Because Windows uses the same character for path separation as strings use for escape sequences, there may be some scenarios where paths are not properly interpreted. For example, if the user provides the string `C:\Windows`, everything works as expected. However, if a user provides `C:\Windows\temp`, this could be interpreted as `C:\Windowsemp`.

Inspect any code (UI, Island, Agent) that handles file paths, especially if the paths are user input. Verify that Windows paths are properly handled.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.