wxwidgets/tests/image
Vadim Zeitlin c2e5749443 Fix crash when reading truncated GIF image
Add a unit test case checking that we don't crash any longer and still
read the image meta data correctly, even if not the image itself.

Also add another check for EOF and possibly invalid "bits" value in
another place where we were not checking for it when reading from the
stream.

Closes #23409.

Co-authored-by: PB <PBfordev@gmail.com>
2023-07-02 18:06:03 +01:00
..
8bpp-colorsused-large.bmp Fix loading bitmaps with malformed biClrUsed field 2021-11-06 16:12:04 +01:00
8bpp-colorsused-negative.bmp Fix loading bitmaps with malformed biClrUsed field 2021-11-06 16:12:04 +01:00
bad_truncated.gif Fix crash when reading truncated GIF image 2023-07-02 18:06:03 +01:00
bitfields-alpha.bmp Correct loading of BI_BITFIELDS bitmaps 2023-06-03 21:07:40 +02:00
bitfields.bmp Only read BMP pixel data from stream in LoadBMPData() 2022-06-08 23:49:18 +01:00
cross_bicubic_256x256.png Add test of scaling wxImage 2016-07-22 23:00:48 +02:00
cross_bilinear_256x256.png Add test of scaling wxImage 2016-07-22 23:00:48 +02:00
cross_box_average_256x256.png Fix rescaling images with wxIMAGE_QUALITY_BOX_AVERAGE 2017-11-30 22:50:31 +01:00
cross_nearest_neighb_256x256.png Add test of scaling wxImage 2016-07-22 23:00:48 +02:00
horse_bicubic_50x50.png Fixed rescaling of wxImage 2016-07-22 23:00:33 +02:00
horse_bicubic_100x100.png Fixed rescaling of wxImage 2016-07-22 23:00:33 +02:00
horse_bicubic_150x150.png Fixed rescaling of wxImage 2016-07-22 23:00:33 +02:00
horse_bicubic_300x300.png Fixed rescaling of wxImage 2016-07-22 23:00:33 +02:00
horse_bilinear_50x50.png Fixed rescaling of wxImage 2016-07-22 23:00:33 +02:00
horse_bilinear_100x100.png Fixed rescaling of wxImage 2016-07-22 23:00:33 +02:00
horse_bilinear_150x150.png Fixed rescaling of wxImage 2016-07-22 23:00:33 +02:00
horse_bilinear_300x300.png Fixed rescaling of wxImage 2016-07-22 23:00:33 +02:00
horse_box_average_50x50.png Fix rescaling images with wxIMAGE_QUALITY_BOX_AVERAGE 2017-11-30 22:50:31 +01:00
horse_box_average_100x100.png Fix rescaling images with wxIMAGE_QUALITY_BOX_AVERAGE 2017-11-30 22:50:31 +01:00
horse_box_average_150x150.png Fix rescaling images with wxIMAGE_QUALITY_BOX_AVERAGE 2017-11-30 22:50:31 +01:00
horse_box_average_300x300.png Fix rescaling images with wxIMAGE_QUALITY_BOX_AVERAGE 2017-11-30 22:50:31 +01:00
horse_grey.bmp Improved BMP decoding. 2011-08-17 21:01:09 +00:00
horse_grey_flipped.bmp Improved BMP decoding. 2011-08-17 21:01:09 +00:00
horse_rle4.bmp Improved BMP decoding. 2011-08-17 21:01:09 +00:00
horse_rle4_flipped.bmp Improved BMP decoding. 2011-08-17 21:01:09 +00:00
horse_rle8.bmp Improved BMP decoding. 2011-08-17 21:01:09 +00:00
horse_rle8_flipped.bmp Improved BMP decoding. 2011-08-17 21:01:09 +00:00
image.cpp Fix crash when reading truncated GIF image 2023-07-02 18:06:03 +01:00
paste_input_background.png Add alpha blending for wxImage::Paste 2020-09-25 01:04:49 +02:00
paste_input_black.png Fix using mask colour even if there is no mask in wxImage::Paste 2020-10-01 02:13:28 +02:00
paste_input_overlay_transparent_border_opaque_square.png Add alpha blending for wxImage::Paste 2020-09-25 01:04:49 +02:00
paste_input_overlay_transparent_border_semitransparent_circle.png Add alpha blending for wxImage::Paste 2020-09-25 01:04:49 +02:00
paste_input_overlay_transparent_border_semitransparent_square.png Add alpha blending for wxImage::Paste 2020-09-25 01:04:49 +02:00
paste_result_background_plus_circle_plus_square.png Add alpha blending for wxImage::Paste 2020-09-25 01:04:49 +02:00
paste_result_background_plus_overlay_transparent_border_opaque_square.png Add alpha blending for wxImage::Paste 2020-09-25 01:04:49 +02:00
paste_result_background_plus_overlay_transparent_border_semitransparent_square.png Add alpha blending for wxImage::Paste 2020-09-25 01:04:49 +02:00
paste_result_no_background_square_over_circle.png Add alpha blending for wxImage::Paste 2020-09-25 01:04:49 +02:00
rawbmp.cpp Remove BCC-specific hdrstop pragma from everywhere 2020-10-12 21:58:37 +02:00
rle4-delta-320x240.bmp Fix loading of RLE bitmaps in wxBMPHandler 2021-11-18 15:37:03 +01:00
rle8-delta-320x240-expected.bmp Restore old delta-RLE bitmap background setting 2023-06-20 22:19:47 +02:00
rle8-delta-320x240.bmp Fix loading of RLE bitmaps in wxBMPHandler 2021-11-18 15:37:03 +01:00
toucan.png Add wxImage Change{Saturation,Brightness,HSV,Lightness}() 2021-05-01 14:03:04 +02:00
toucan_bright_-0.259.png Add wxImage Change{Saturation,Brightness,HSV,Lightness}() 2021-05-01 14:03:04 +02:00
toucan_dis_240.png Add wxImage Change{Saturation,Brightness,HSV,Lightness}() 2021-05-01 14:03:04 +02:00
toucan_grey.png Add wxImage Change{Saturation,Brightness,HSV,Lightness}() 2021-05-01 14:03:04 +02:00
toucan_hsv_0.538_-0.41_-0.259.png Add wxImage Change{Saturation,Brightness,HSV,Lightness}() 2021-05-01 14:03:04 +02:00
toucan_hue_0.538.png Add wxImage Change{Saturation,Brightness,HSV,Lightness}() 2021-05-01 14:03:04 +02:00
toucan_light_46.png Add wxImage Change{Saturation,Brightness,HSV,Lightness}() 2021-05-01 14:03:04 +02:00
toucan_mono_255_255_255.png Add wxImage Change{Saturation,Brightness,HSV,Lightness}() 2021-05-01 14:03:04 +02:00
toucan_sat_-0.41.png Add wxImage Change{Saturation,Brightness,HSV,Lightness}() 2021-05-01 14:03:04 +02:00
width-times-height-overflow.bmp Avoid integer overflow when computing image data size in wxImage::Create() 2021-11-27 17:14:28 -08:00
width_height_32_bit_overflow.pgm Replace old Trac links with GitHub ones 2022-01-13 16:52:58 +01:00
wx.png Add tests of wxImageList 2021-01-12 18:22:03 +01:00