From 8268c47462544baf5bc7e5071c0a9f2d00c5c2cb Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Wed, 3 Apr 2019 21:47:59 +0200 Subject: [PATCH] reg: Add missing null to terminate a string. Signed-off-by: Alexandre Julliard --- 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 1e69bc7a37d..2a09e34cc7a 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}; write_file(hFile, header); }