Skip to content

ast.py harness accumulates immortal interned identifiers causing spurious OOMs #30

Description

@StanFromIreland

For example this testcase: https://oss-fuzz.com/testcase-detail/6425123073884160

As documented, these "live until interpreter shutdown." It also says that "the number of distinct identifiers and string constants is expected to stay low," but I guess they didn't account for fuzzing. I'm not quite sure how to periodically restart the fuzzer, without causing a hit.

(On the upside, this did technically find a CPython bug!)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions