Summary: | Crash, QTextDocument chokes on input and ends up with negative pagecounts | ||
---|---|---|---|
Product: | [Applications] okular | Reporter: | Stefan Brüns <stefan.bruens> |
Component: | EPub backend | Assignee: | Okular developers <okular-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | aacid, nate |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=406116 | ||
Latest Commit: | https://commits.kde.org/okular/9f98c010691ed73d11c83a1694823aba60b12e32 | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: | Problematic PDF |
Description
Stefan Brüns
2019-05-01 22:44:23 UTC
That's not a pdf ;) This is most probably a duplicate of 406738 Do you have time to check? (In reply to Albert Astals Cid from comment #1) > That's not a pdf ;) > > This is most probably a duplicate of 406738 > > Do you have time to check? The backtrace is the same. 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 |