cutealien 811a9f3463 Fix TGA's with bad palette colors reading from behind palette memory
TGA's can claim to use less palette colors than they later do.
We only support 8-bit palettes, so to make this safer lets just always allocate at least 256 bytes.
Thanks @erlehmann for report and testcase: https://irrlicht.sourceforge.io/forum/viewtopic.php?p=307191
Based on Minetest bug report: https://github.com/minetest/irrlicht/issues/236


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6532 dfc29bdd-3216-0410-991c-e03cc46cb475
2023-09-23 16:34:42 +00:00
..
2022-05-03 20:47:32 +00:00
2022-05-03 23:00:00 +00:00
2022-04-30 22:57:17 +00:00
2022-04-30 22:57:17 +00:00
2023-04-27 18:44:33 +00:00
2022-04-30 22:57:17 +00:00
2022-04-30 22:57:17 +00:00
2023-04-12 13:22:03 +00:00
2020-11-14 16:56:16 +00:00
2022-05-01 09:50:32 +00:00
2022-05-01 09:50:32 +00:00
2022-04-30 22:57:17 +00:00
2023-05-05 12:30:28 +00:00
2023-04-16 21:52:36 +00:00
2023-08-14 20:38:23 +00:00
2023-08-14 20:38:23 +00:00
2020-06-18 19:40:56 +00:00
2023-08-14 20:38:23 +00:00
2023-08-14 20:38:23 +00:00
2023-04-27 18:44:33 +00:00
2022-04-30 22:57:17 +00:00
2023-04-27 18:44:33 +00:00
2022-04-20 22:16:33 +00:00
2023-08-14 20:38:23 +00:00
2022-05-03 20:47:32 +00:00
2022-05-03 20:47:32 +00:00
2022-05-03 20:47:32 +00:00
2022-05-03 20:47:32 +00:00
2022-05-03 20:47:32 +00:00
2022-05-03 20:47:32 +00:00
2022-05-03 20:47:32 +00:00
2022-05-03 20:47:32 +00:00
2022-05-03 20:47:32 +00:00
2022-05-03 20:47:32 +00:00
2022-05-03 20:47:32 +00:00
2022-05-03 20:47:32 +00:00
2022-06-30 16:23:48 +00:00
2022-05-03 23:00:00 +00:00
2022-05-03 23:00:00 +00:00
2023-08-14 20:38:23 +00:00
2022-05-03 20:47:32 +00:00
2022-05-03 20:47:32 +00:00
2022-05-03 20:48:57 +00:00
2022-05-03 20:48:57 +00:00
2020-02-22 20:51:59 +00:00
2022-05-15 13:43:32 +00:00
2022-05-03 20:47:32 +00:00
2023-08-14 20:38:23 +00:00
2023-04-27 18:44:33 +00:00
2023-08-14 20:38:23 +00:00