cutealien
72b1522083
Add IImage::checkDataSizeLimit and make IImage getDataSizeFromFormat return size_t
...
It's to allow image loader to check for sane limits for image sizes.
Idea came from this patch from sfan5 for Minetest: dbd39120e7
Thought solution is a bit different.
Image loader checks not yet added (will come soon).
Also note that limit is to s32. While u32 might work mostly it will run into some troubles with color converter for now (which maybe could be changes). Also 2GB ought to be enough for anybody, right?
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6386 dfc29bdd-3216-0410-991c-e03cc46cb475
2022-05-06 19:47:38 +00:00
..
2021-08-27 15:03:34 +00:00
2022-04-22 14:22:41 +00:00
2022-04-22 16:28:29 +00:00
2022-04-14 16:54:06 +00:00
2021-08-27 15:03:34 +00:00
2022-04-25 16:19:20 +00:00
2021-08-27 15:03:34 +00:00
2022-05-01 01:11:45 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2022-04-04 16:37:55 +00:00
2022-04-12 16:04:56 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2022-04-26 18:19:30 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2022-02-08 21:00:12 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2022-04-22 14:22:41 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2022-03-22 22:08:33 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2022-05-05 15:19:35 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2022-05-06 19:47:38 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2022-04-25 16:19:20 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2022-04-22 14:22:41 +00:00
2021-08-27 15:03:34 +00:00
2022-04-19 21:44:50 +00:00
2022-04-14 16:54:06 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2022-05-02 15:19:37 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2022-04-26 18:40:44 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2022-03-24 22:24:13 +00:00
2022-05-01 01:11:45 +00:00
2021-08-27 18:09:14 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2022-04-21 22:24:14 +00:00
2021-08-27 15:03:34 +00:00
2019-12-12 16:32:41 +00:00
2021-08-27 15:03:34 +00:00
2022-01-04 18:44:35 +00:00
2019-12-12 16:32:41 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2022-05-01 01:11:45 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2022-04-25 16:19:20 +00:00
2022-03-30 10:49:13 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2022-03-14 15:11:05 +00:00
2021-08-27 15:03:34 +00:00
2022-05-01 01:11:45 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2022-01-06 12:01:36 +00:00
2021-08-27 15:03:34 +00:00
2022-04-25 14:24:43 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2022-05-02 16:17:03 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2022-04-26 19:22:45 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2019-12-12 16:32:41 +00:00
2019-12-12 16:32:41 +00:00
2019-12-12 16:32:41 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2022-04-14 16:54:06 +00:00
2022-04-14 16:54:06 +00:00
2021-08-27 15:03:34 +00:00
2021-08-27 15:03:34 +00:00
2022-01-06 14:02:12 +00:00
2021-08-27 15:03:34 +00:00
2022-04-21 22:24:14 +00:00
2022-05-01 01:11:45 +00:00