On 4/3/19 10:26 PM, Alexandre Julliard wrote:
Module: wine Branch: master Commit: 8268c47462544baf5bc7e5071c0a9f2d00c5c2cb URL: https://source.winehq.org/git/wine.git/?a=commit;h=8268c47462544baf5bc7e5071...
Author: Alexandre Julliard julliard@winehq.org Date: Wed Apr 3 21:47:59 2019 +0200
reg: Add missing null to terminate a string.
Signed-off-by: Alexandre Julliard julliard@winehq.org
programs/reg/export.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/programs/reg/export.c b/programs/reg/export.c index 1e69bc7..2a09e34 100644 --- a/programs/reg/export.c +++ b/programs/reg/export.c @@ -316,7 +316,7 @@ static void export_file_header(HANDLE hFile) { static const WCHAR header[] = { 0xfeff,'W','i','n','d','o','w','s',' ', 'R','e','g','i','s','t','r','y',' ','E','d','i','t','o','r',' ',
'V','e','r','s','i','o','n',' ','5','.','0','0','\r','\n'};
'V','e','r','s','i','o','n',' ','5','.','0','0','\r','\n',0};
That bug wouldn't have happened when using an utf16 string literal. Just stating the obvious...
bye michael