Hi all,

Please include the attached patch in kdelibs3 before the 5.4 release 
if possible. The attached file just needs to be placed 
in /usr/ports/x11/kdelibs3/files  (kdelibs3 is just portupgrading on 
my machine, patch applied cleanly)

The fix is also committed to KDE already (HEAD and 3_4 branch), so 
only 3.4.0 is affected.

The bug causes a crash at least in KOffice when working in a directory 
where the user has no write permissions. KOffice crashes on save 
(also autosave!!). Since this really shouldn't happen, I hope that 
the attached patch can be committed to ports before it is tagged for 
5_4 release.

Thanks a lot!!
Raphael

PS: I'm on #kde-freebsd, if any questions are left
--- kio/kio/kzip.cpp  #1.56:1.57
@@ -382,4 +382,5 @@ bool KZip::openArchive( int mode )
                 kdWarning(7040) << "KSaveFile creation for " << m_filename << " failed, " << strerror( d->m_saveFile->status() ) << endl;
                 delete d->m_saveFile;
+                d->m_saveFile = 0;
                 return false;
             }
_______________________________________________
kde-freebsd mailing list
[email protected]
http://freebsd.kde.org/mailman/listinfo/kde-freebsd

Reply via email to