Skip to content

Memory allocation failure with large tuple operations #1870

@correctmost

Description

@correctmost

Summary

ty crashes when checking this fuzzed code:

for a in ('a', 'b'):
    a + (a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a)
memory allocation of 2199023255552 bytes failed

Version

ty 0.0.1a34

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingfatala fatal error (panic or crash)fuzzerIssues surfaced by fuzzing ty

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions