diff options
Diffstat (limited to 'src/WixToolset.Core/Common.cs')
-rw-r--r-- | src/WixToolset.Core/Common.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/WixToolset.Core/Common.cs b/src/WixToolset.Core/Common.cs index 6efc7571..1bb895be 100644 --- a/src/WixToolset.Core/Common.cs +++ b/src/WixToolset.Core/Common.cs | |||
@@ -253,7 +253,7 @@ namespace WixToolset.Core | |||
253 | { | 253 | { |
254 | return filename.Length < 9; | 254 | return filename.Length < 9; |
255 | } | 255 | } |
256 | else if (expectedDot > 8 || filename[expectedDot] != '.') | 256 | else if (expectedDot > 8 || filename[expectedDot] != '.' || expectedDot + 4 < filename.Length) |
257 | { | 257 | { |
258 | return false; | 258 | return false; |
259 | } | 259 | } |