RESOLVED FIXED 133499
[CSS Shapes] Fix off by one in creating a RasterShape
https://bugs.webkit.org/show_bug.cgi?id=133499
Summary [CSS Shapes] Fix off by one in creating a RasterShape
Bem Jones-Bey
Reported 2014-06-03 20:49:50 PDT
Fix off by one in creating a RasterShape
Attachments
Patch (4.36 KB, patch)
2014-06-03 20:57 PDT, Bem Jones-Bey
no flags
Bem Jones-Bey
Comment 1 2014-06-03 20:54:56 PDT
Note that crash is not a security issue because it is caught by a release assert in WTF::Vector.
Bem Jones-Bey
Comment 2 2014-06-03 20:57:49 PDT
Darin Adler
Comment 3 2014-06-04 17:16:42 PDT
Comment on attachment 232463 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=232463&action=review > LayoutTests/ChangeLog:9 > + * fast/shapes/shape-outside-floats/shape-outside-floats-shape-margin-crash-expected.txt: Added. > + * fast/shapes/shape-outside-floats/shape-outside-floats-shape-margin-crash.html: Added. Would be nicer to do some kind of reference test instead, but maybe that's impractical.
WebKit Commit Bot
Comment 4 2014-06-04 17:46:09 PDT
Comment on attachment 232463 [details] Patch Clearing flags on attachment: 232463 Committed r169604: <http://trac.webkit.org/changeset/169604>
WebKit Commit Bot
Comment 5 2014-06-04 17:46:12 PDT
All reviewed patches have been landed. Closing bug.
Bem Jones-Bey
Comment 6 2014-06-04 21:07:46 PDT
(In reply to comment #3) > (From update of attachment 232463 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=232463&action=review > > > LayoutTests/ChangeLog:9 > > + * fast/shapes/shape-outside-floats/shape-outside-floats-shape-margin-crash-expected.txt: Added. > > + * fast/shapes/shape-outside-floats/shape-outside-floats-shape-margin-crash.html: Added. > > Would be nicer to do some kind of reference test instead, but maybe that's impractical. Ref tests for image shapes with different combinations of margin, borders, padding and shape margin are forthcoming. I just wanted to get this one fixed ASAP since it's a crasher. Thanks for the review.
Note You need to log in before you can comment on or make changes to this bug.