gecko-dev/gfx/tests/crashtests
Glenn Watson 1628e0582a Bug 1647862 - Fix panic when casting large rects to i32. r=Bert
In various parts of the picture and mask code, we were casting
the `clipped` rect to i32 (after rounding out). However, this
can cause overflow panics when the origin of the rect is too big.

Instead, treat the origin as f32 (which it was generally being
converted to anyway), and only cast the size part to be i32 as
required. This is safe since we know that the size has been
clipped to the visible screen, so will always be safe to cast
to i32.

Differential Revision: https://phabricator.services.mozilla.com/D80968
2020-06-28 22:00:56 +00:00
..
122875-1.html
156882-1.html
157320-1.html
199379-1.html
206561-1.html
248518-1.html
306649-1.xml
306902-1.xml
333861-1.html
334735-1.html
345576-1.html
345629-1.html
348462-1.html
348462-2.html
366643.html
369688-1.html
369947-1.html
372094-1.xhtml
376627-1.html
377231-1.html
377232-1.xhtml
377461-1.xhtml
383473-1.html
383872-1.svg
385228-1.svg
385228-2.svg
385289-1.xhtml
385417-1.html
385417-2.html
385423-1.html
385423-2.html
385719-1.html
389326-1-inner.xhtml
389326-1.html
390476.html
393746-1.xhtml
393749-1.html
393822-1.html
394246-1.html
394246-2.html
394384-1.html
394751.xhtml
395335-1.xhtml
395458-1.html
396321-1.svg
398042-1.xhtml
398042-2.xhtml
402307-1.html
403352.html
403464-1.html
404112-1.html
404112-2.html
405268-1.xhtml
407761-1.html
407842.html
408754-1.html
410728-1.xml
416637-1.html
419095-1.html
419255-1.html
420945-1.html
420962-1.html
421393-1.html
421813-1.html
423110-1.xhtml
423270-1.html
428633.html
429899-1.html
441360_data.gif
441360.html
445711.html
463307-1.html
467703-1.xhtml
467873-1.html
470418-1.html
474410-1.html
487549-1.html
487549-bad_kern_table.ttf
487724-1.html
490777-1.html
516512-1.html
532726-1.html
538065-1.html
546870-1.html
557348-1.html
563740-1.html
580100-1.html
580100-bad_hhea_table.ttf
580212-1.html
580212-bad_loca_table.ttf
580233-1.html
580233-bad_gpos_table.ttf
580719-1.html
580719-bad_head_table.ttf
593526.html
593526.xhtml
594654-1.xhtml
595042-1.html
595727-1.html
624198.xhtml
633322-1.html
633453-1.html
662467-1.html
665218.html
675550-1.html
686190-1.html
691330.svg
691581-1.html
693143-1.html
696936-1.html
699563-1.html
710149-1.html
746491.html
746495.html
746497.html
746844.html
746847.html
746849.html
746866.html
747132.html
747302.html
766422-1.html
766422-2.html
766452-1.html
766452-2.html
768079-1.html
783041-1.html
783041-2.html
783041-3.html
783041-4.html
798853.html
805760-1.html
805760.ttf
812826.html
815489.html
836225-1.html
839745-1.html
856784-1.html
893572-1.html
893572-2.html
893572-3.html
893572-4.html
895233.html
914457-1.html
934729.html
944579.html
944579.png
944579.svg
950000.html
951893.xhtml
987013.html
1008983.html
1011218.html
1034403-1.html
1056516.html
1134549-1.svg
1205900.html
1216832-1.html
1221304.html
1225125-1.html
1228127.html
1229972.html
1242811.html
1242822.html
1248222.html
1278305.html
1308394.html
1317403-1.html
1325159-1.html
1331683.html
1343666.html
1408078-1.html
1464243.html
1467847-1.html
1468020.html
1470437.html
1470440.html
1478035.html
1490704-1.html
1494062-blob-image-wraplist-clip.html
1496194.html
1501518.html
1503986-1.html
1505426-1.html
1505934-1.html
1508811.html
1508822.html
1509099.html
1509123.html
1513133.html
1524418.html
1529149.html
1535657.html
1541113.html
1547169.html
1566206.html
1615091.html
1615141.html
1620125.html Bug 1620125 - Don't assume mVerticalMetrics has necessarily been initialized before DrawOneGlyph is called. r=lsalzman 2020-03-05 18:07:17 +00:00
1640401-1.html Bug 1640401 - add crashtest for font sanitization. r=jrmuizel 2020-05-23 23:55:16 +00:00
1647862.html Bug 1647862 - Fix panic when casting large rects to i32. r=Bert 2020-06-28 22:00:56 +00:00
balinese-letter-spacing.html
crashtests.list Bug 1647862 - Fix panic when casting large rects to i32. r=Bert 2020-06-28 22:00:56 +00:00
empty.html
PigLatin_Plane15.ttf
Prototype.ttf
texture-allocator-zero-region.html