Fix crash when opening a ZIP data pack

Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
(cherry picked from commit 0b65342fd2)
This commit is contained in:
Hugo Locurcio 2020-09-19 15:45:00 +02:00 committed by Rémi Verschelde
parent 42eb92d19a
commit e04855ce00
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -84,8 +84,7 @@ public:
};
class FileAccessZip : public FileAccess {
unzFile zfile;
unzFile zfile = nullptr;
unz_file_info64 file_info;
mutable bool at_eof;