termux-packages/packages/nsis/Source-ResourceEditor.cpp.patch
2022-03-27 12:23:28 +09:00

12 lines
308 B
Diff

--- a/Source/ResourceEditor.cpp
+++ b/Source/ResourceEditor.cpp
@@ -913,7 +913,7 @@
}
FILEVIEW &map = *(FILEVIEW*) &X.Map;
- size_t datasize;
+ size_t datasize = 0;
char *filedata = create_file_view_readonly(File, map), *data = 0, *dataalloc = 0;
if (filedata) {
if (resproto) {