cutealien 05ebc43222 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-10-15 13:54:16 +02:00
..
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-15 13:38:06 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-15 13:36:47 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-15 13:37:30 +02:00
2023-10-15 13:36:47 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-15 13:39:42 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00
2023-10-03 20:37:00 +02:00