[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [okular] [Bug 328182] Okular hangs when opening cbz archive containing xml file
From: Albert Astals Cid <aacid () kde ! org>
Date: 2013-11-30 21:44:42
Message-ID: bug-328182-17878-jIFgKYbTUZ () http ! bugs ! kde ! org/
[Download RAW message or body]
https://bugs.kde.org/show_bug.cgi?id=328182
Albert Astals Cid <aacid@kde.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|CONFIRMED |RESOLVED
Version Fixed In| |4.11.5
Resolution|--- |FIXED
Latest Commit| |http://commits.kde.org/kdel
| |ibs/64a7238c3c082b174e47c38
| |96d6eb0f5c52ab461
--- Comment #2 from Albert Astals Cid <aacid@kde.org> ---
Git commit 64a7238c3c082b174e47c3896d6eb0f5c52ab461 by Albert Astals Cid.
Committed on 30/11/2013 at 21:33.
Pushed by aacid into branch 'KDE/4.11'.
Make KLimitedIODevice::bytesAvailable return the numbers of bytesAvaliable to
read
At the moment KLimitedIODevice::bytesAvailable is returning at least the size
of the file, so QIODevice::atEnd never returns true because it thinks there are
more bytes to read. This makes that if you feed an "invalid" svg like "<?xml
version="1.0"?>" to the QImageReader it infinite loops believing there will be
more stuff to read but then read() always returns 0 but then bytesAvailable
says there are more and it stays there forever.
FIXED-IN: 4.11.5
REVIEW: 114226
M +1 -1 kdecore/io/klimitediodevice.cpp
http://commits.kde.org/kdelibs/64a7238c3c082b174e47c3896d6eb0f5c52ab461
--
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic