]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/zipstrm.cpp
fixing overrelease and out-of-bounds write, fixes #13725
[wxWidgets.git] / src / common / zipstrm.cpp
index 7a5b619a35efe489008d1c48feda4fc13cd4daa5..4902738a07aaf7bed96e3e1c1a17a27bc3b8c998 100644 (file)
@@ -1341,7 +1341,7 @@ void wxZipInputStream::Init(const wxString& file)
     ffile = static_cast<wxFFileInputStream*>(m_parent_i_stream);
     wxZipEntryPtr_ entry;
 
-    if (ffile->Ok()) {
+    if (ffile->IsOk()) {
         do {
             entry.reset(GetNextEntry());
         }