[okular] [Bug 407140] Crash, QTextDocument chokes on input and ends up with negative pagecounts

Albert Astals Cid bugzilla_noreply at kde.org
Wed May 22 23:25:12 BST 2019


https://bugs.kde.org/show_bug.cgi?id=407140

Albert Astals Cid <aacid at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REPORTED                    |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |https://commits.kde.org/oku
                   |                            |lar/9f98c010691ed73d11c83a1
                   |                            |694823aba60b12e32

--- Comment #3 from Albert Astals Cid <aacid at kde.org> ---
Git commit 9f98c010691ed73d11c83a1694823aba60b12e32 by Albert Astals Cid, on
behalf of Stefan BrĂ¼ns.
Committed on 22/05/2019 at 22:24.
Pushed by aacid into branch 'Applications/19.04'.

[EPubGenerator] Avoid crashes due to bogus wrapping of content in table

Summary:
QTextDocument chokes badly when a some documents are wrapped inside
a table, returning e.g. a pagecount of -41292 afterwards.

On the downside, this removes any padding from the page. On the upside,
it removes any padding from the page.
Related: bug 406738, bug 406116

Reviewers: #okular

Subscribers: okular-devel

Tags: #okular

Differential Revision: https://phabricator.kde.org/D20949

M  +1    -7    generators/epub/converter.cpp

https://commits.kde.org/okular/9f98c010691ed73d11c83a1694823aba60b12e32

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list