Re: [PATCH] image: prevent invalid ptr access for > 4GB images
Chris Wilson <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <[email protected]> |
Quoting Adrian Johnson (2017-06-15 13:05:33) > As the maximum image width is 32767 I don't see how this could overflow. cairo_image_surface_create_for_data() lacks overflow protection against stride. That is the only entry point that doesn't have a check afaik. -Chris -- cairo mailing list [email protected] https://lists.cairographics.org/mailman/listinfo/cairo