WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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
Details
Formatted Diff
Diff
patch
(6.32 KB, patch)
2014-03-18 23:45 PDT
,
Tim Horton
sam
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Tim Horton
Comment 1
2014-03-18 23:44:33 PDT
Created
attachment 227159
[details]
patch
Tim Horton
Comment 2
2014-03-18 23:45:52 PDT
Created
attachment 227160
[details]
patch
Tim Horton
Comment 3
2014-03-19 08:39:46 PDT
http://trac.webkit.org/changeset/165896
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug