Closed
Description
ConsumeIntegralInRange() returns a value in the range [min, max], but in several cases we call it in the form [min, max+1] (e.g. simplify.cpp:102, which should be (0, op_count - 1)
. This causes intermittent segfaults, usually only in -O3
mode. We should examine all the extant calls to ConsumeIntegralInRange()
to verify/fix incorrect usage. attn @silvergasp
Metadata
Metadata
Assignees
Labels
No labels