Fix OOB read in mesh cooking from bad vertex layout
The vertex position offset and stride were never validated when cooking
convex/triangle meshes, so a Geometry whose position attribute doesn't fit
within its stride caused reads past the end of the vertex buffer.
Pick-to: 6.12 6.11 6.8
Change-Id: If780a71eb56b6106c3f53961bfbee95583ef0266
Reviewed-by: Kristoffer Skau <kristoffer.skau@qt.io>
| commit | a354ed789069bac323d996f2866b3eb56a178907 |
| parent | b41bea0107e29d8abacdef1a7679397740ef8533 |
| author | Jonas Karlsson <jonas.karlsson@qt.io> |
| committer | Jonas Karlsson <jonas.karlsson@qt.io> |
| commit time | Tue, 25 Aug 2026 07:32:06 +0000 |