RESOLVED FIXED 130444
[iOS] WebPDFViewPlaceholder divides-by-zero with an empty document
https://bugs.webkit.org/show_bug.cgi?id=130444
Summary [iOS] WebPDFViewPlaceholder divides-by-zero with an empty document
Tim Horton
Reported 2014-03-18 23:37:44 PDT
If the document consists only of invalid pages, WebPDFViewPlaceholder will divide-by-zero when computing its destination size. WKPDFView will just crash when it hits an invalid page, so we should avoid that as well. <rdar://problem/15580682>
Attachments
patch (5.87 KB, patch)
2014-03-18 23:44 PDT, Tim Horton
no flags
patch (6.32 KB, patch)
2014-03-18 23:45 PDT, Tim Horton
sam: review+
Tim Horton
Comment 1 2014-03-18 23:44:33 PDT
Tim Horton
Comment 2 2014-03-18 23:45:52 PDT
Tim Horton
Comment 3 2014-03-19 08:39:46 PDT
Note You need to log in before you can comment on or make changes to this bug.