GPUOpen-LibrariesAndSDKs / RadeonRays_SDK

Radeon Rays is ray intersection acceleration library for hardware and software multiplatforms using CPU and GPU
MIT License
1.07k stars 192 forks source link

16-bit indices are exposed in the API but left unimplemented, causing TDRs on client software #227

Open NoahMercury opened 3 years ago

NoahMercury commented 3 years ago

TriangleMeshBuildInfo::index_type exists, but is ignored throughout the code base, and 32-bit indices are assumed instead. 16-bit indices are thus misinterpreted, causing out-of-bounds reads and TDR-ing unsuspecting client software.