diff options
author | Bastien Nocera <hadess@hadess.net> | 2017-07-27 12:20:29 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2017-07-27 12:21:17 +0100 |
commit | 60805b62cf06aaa8667ce1c2bd6a184b40c49450 (patch) | |
tree | be3e9b36aaa58ffda93dbcc253fe154cdfc4420a /tests | |
parent | 4a4629496cf8a3116fec0838db89e0fb33c1568c (diff) | |
download | gdk-pixbuf-60805b62cf06aaa8667ce1c2bd6a184b40c49450.tar.gz |
tests: Fix unused variable in CVE-2015-4491 test
Diffstat (limited to 'tests')
-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 |