Commit 7f955f28 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

wscript: Zero terminate the host version string to avoid random garbage.

String is used only once and passed to SysAllocString() which assumes a zero terminated string. Signed-off-by: 's avatarMichael Stefaniuc <mstefani@winehq.org> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 4e3c4d6f
......@@ -33,7 +33,7 @@
WINE_DEFAULT_DEBUG_CHANNEL(wscript);
#define BUILDVERSION 16535
static const WCHAR wshVersionW[] = {'5','.','8'};
static const WCHAR wshVersionW[] = L"5.8";
VARIANT_BOOL wshInteractive =
#ifndef CSCRIPT_BUILD
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment