mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Fix double deletion bug in kio_kzip, which causes nasty crashes in
apps like koffice. Reported by, patch obtained from: Raphael Langerhorst <raphael-langerhorst@gmx.at> Approved by: portmgr (marcus)
This commit is contained in:
parent
45614d7d70
commit
7ce812d658
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=132140
4 changed files with 16 additions and 0 deletions
|
@ -8,6 +8,7 @@
|
|||
|
||||
PORTNAME= kdelibs
|
||||
PORTVERSION= ${KDE_VERSION}
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= x11 kde
|
||||
MASTER_SITES= ${MASTER_SITE_KDE}
|
||||
MASTER_SITE_SUBDIR= stable/${PORTVERSION:S/.0//}/src
|
||||
|
|
7
x11/kdelibs3/files/patch-kio_kio_kzip.cpp
Normal file
7
x11/kdelibs3/files/patch-kio_kio_kzip.cpp
Normal file
|
@ -0,0 +1,7 @@
|
|||
--- 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;
|
||||
}
|
|
@ -8,6 +8,7 @@
|
|||
|
||||
PORTNAME= kdelibs
|
||||
PORTVERSION= ${KDE_VERSION}
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= x11 kde
|
||||
MASTER_SITES= ${MASTER_SITE_KDE}
|
||||
MASTER_SITE_SUBDIR= stable/${PORTVERSION:S/.0//}/src
|
||||
|
|
7
x11/kdelibs4/files/patch-kio_kio_kzip.cpp
Normal file
7
x11/kdelibs4/files/patch-kio_kio_kzip.cpp
Normal file
|
@ -0,0 +1,7 @@
|
|||
--- 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;
|
||||
}
|
Loading…
Add table
Reference in a new issue