diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-09-23 09:13:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-23 09:13:05 +0200 |
commit | bb2466bbc077a223192ef012b8a552daf37a3864 (patch) | |
tree | 7bafa2c165ffd480954278f73221f01d03481d96 | |
parent | cadba267b5b92d179a944ecb4f408076c9ccea28 (diff) | |
parent | 0b65342fd2daddb91dcbcf84dff130856bde96df (diff) |
Merge pull request #42196 from Calinou/fix-file-access-zip-crash
Fix crash when opening a ZIP data pack
-rw-r--r-- | core/io/file_access_zip.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/io/file_access_zip.h b/core/io/file_access_zip.h index 2cce24e878..c251b3c424 100644 --- a/core/io/file_access_zip.h +++ b/core/io/file_access_zip.h @@ -79,7 +79,7 @@ public: }; class FileAccessZip : public FileAccess { - unzFile zfile; + unzFile zfile = nullptr; unz_file_info64 file_info; mutable bool at_eof; |