tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

reftest.list (862B)


      1 # BMP tests
      2 
      3 include bmp-1bpp/reftest.list
      4 include bmp-4bpp/reftest.list
      5 include bmp-8bpp/reftest.list
      6 include bmp-24bpp/reftest.list
      7 include bmp-corrupted/reftest.list
      8 include bmpsuite/reftest.list
      9 
     10 # Two bmp files where the offset to the start of the image data in the file
     11 # is past the end of the file. In 1240629-1.bmp the offset us uint32_max,
     12 # so we are testing that we don't try to allocate a buffer that size (and
     13 # fail on 32 bit platforms) and declare the image in error state. If in the
     14 # future we decide that such bmps (offset past the end of the file) are
     15 # invalid the test will still pass, but won't be testing much.
     16 == 1240629-1.bmp 1240629-2.bmp
     17 
     18 # A bmp where the image data offset says that the image data starts in the
     19 # color table. We support this kind of corruption.
     20 == dataoffset-in-color-table-1.bmp dataoffset-in-color-table-ref.png