Protect against use of reserved file names #394

Merged
merged 1 commit into from Feb 8, 2017

Conversation

Projects
None yet
3 participants
@robmen
Member

robmen commented Feb 1, 2017

Windows has a set of reserved file names such as CON, NUL, COM1,
LPT2. Creating files with those names will result in all sorts of
undesirable behavior, the most common is that that the build hangs.
Now we'll catch use of reserved names and print out a helpful error
message.

Fixes wixtoolset/issues#4797

Protect against use of reserved file names
Windows has a set of reserved file names such as `CON`, `NUL`, `COM1`,
`LPT2`. Creating files with those names will result in all sorts of
undesirable behavior, the most common is that that the build hangs.
Now we'll catch use of reserved names and print out a helpful error
message.

Fixes wixtoolset/issues#4797

@barnson barnson merged commit 5b75c0e into wixtoolset:develop Feb 8, 2017

@robmen robmen deleted the robmen:4797-bad-filenames branch Mar 1, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment