diff --git a/image/test/reftest/bmp/bmp-corrupted/invalid-compression-BITFIELDS.bmp b/image/test/reftest/bmp/bmp-corrupted/invalid-compression-BITFIELDS.bmp new file mode 100644 index 00000000000..92a72252617 Binary files /dev/null and b/image/test/reftest/bmp/bmp-corrupted/invalid-compression-BITFIELDS.bmp differ diff --git a/image/test/reftest/bmp/bmp-corrupted/reftest.list b/image/test/reftest/bmp/bmp-corrupted/reftest.list index fc39882dac5..a1a805c6b08 100644 --- a/image/test/reftest/bmp/bmp-corrupted/reftest.list +++ b/image/test/reftest/bmp/bmp-corrupted/reftest.list @@ -10,3 +10,8 @@ # Tests for RLE8 with an invalid BPP == wrapper.html?invalid-compression-RLE8.bmp about:blank +# Test for BITFIELDS with an invalid BIH size. (This is the obscure +# BITMAPV3INFOHEADER variant mentioned in +# https://en.wikipedia.org/wiki/BMP_file_format which we don't accept.) +== wrapper.html?invalid-compression-BITFIELDS.bmp about:blank +