[PATCH] Hang in KTar
Richard Smith
rgs26 at cam.ac.uk
Sat Feb 28 14:44:27 GMT 2004
Hi,
There's several nasty hangs in KTar, caused by code not checking
QFile::open()'s return value. To reproduce:
(new KTar("something.tar.gz/anything"))->open(IO_ReadOnly);
KTar fails to open something.tar.gz/anything then falls into an infinite loop.
The attached patch fixes that. OK to commit to HEAD? To BRANCH?
Thanks,
Richard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kdelibs-kio-ktar-fix-hang.diff
Type: text/x-diff
Size: 4014 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20040228/c9426aaf/attachment.diff>
More information about the kde-core-devel
mailing list