Alexandre Julliard : reg: Add missing null to terminate a string.

Alexandre Julliard julliard at winehq.org
Wed Apr 3 15:26:21 CDT 2019


Module: wine
Branch: master
Commit: 8268c47462544baf5bc7e5071c0a9f2d00c5c2cb
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=8268c47462544baf5bc7e5071c0a9f2d00c5c2cb

Author: Alexandre Julliard <julliard at 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 at 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};
 
     write_file(hFile, header);
 }




More information about the wine-cvs mailing list