Corrupted PDF causes UI drawing artifacts
Submitted by Marek Kašík
Looking at https://bugzilla.redhat.com/show_bug.cgi?id=1557355, I've found that the PDF there has way to large values in its transformation matrix which causes CAIRO_STATUS_NO_MEMORY error. This is not handled in evince. I think that status of the cairo context should be checked in evince because it creates the context.
Not handling this causes drawing of black boxes in place of randomly chosen widgets used for drawing of evince UI.