Skip to content

fuzz tests call ConsumeIntegralInRange() incorrectly #7546

Closed
@steven-johnson

Description

@steven-johnson

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions