KhronosGroup / SPIRV-Tools

Apache License 2.0
1.08k stars 555 forks source link

OSS-Fuzz: Stack-overflow in spvtools::opt::SSARewriter::GetReachingDef #4639

Open afd opened 2 years ago

afd commented 2 years ago

https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=39658

The CFGs of the functions involved look valid.

@s-perron for info.

s-perron commented 2 years ago

Looks like an ID overflow issue. If I compact the ids first, the test case compiles fine. Will be low priority.