diff options
Diffstat (limited to 'tests/cve-2015-4491.c')
-rw-r--r-- | tests/cve-2015-4491.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/cve-2015-4491.c b/tests/cve-2015-4491.c index f5454d0a7..a1d9431ba 100644 --- a/tests/cve-2015-4491.c +++ b/tests/cve-2015-4491.c @@ -32,6 +32,7 @@ test_original (void) buf = gdk_pixbuf_new_from_resource_at_scale ("/test/resource/cve-2015-4491.bmp", size, size, FALSE, &err); /* Image is corrupt because the rowstride * height mul overflows */ g_assert_error (err, GDK_PIXBUF_ERROR, GDK_PIXBUF_ERROR_CORRUPT_IMAGE); + g_assert_null (buf); } static void |