Skip to content
This repository has been archived by the owner on Jun 1, 2022. It is now read-only.

-output flag not handling paths with spaces #32

Open
arichter-rescan360 opened this issue Dec 5, 2017 · 1 comment
Open

-output flag not handling paths with spaces #32

arichter-rescan360 opened this issue Dec 5, 2017 · 1 comment

Comments

@arichter-rescan360
Copy link

The mkdir call is being made with unquoted path arguments causing paths with spaces to break the directory creation.

EtcTool.cpp(824)
old:
sprintf_s(strCommand, "if not exist %s %s %s", path, ETC_MKDIR_COMMAND, path);
fix:
sprintf_s(strCommand, "if not exist "%s" %s "%s"", path, ETC_MKDIR_COMMAND, path);

@emrekurubas
Copy link

Created a pull request: #35

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants