Issue 183095
Summary Clang crashes on large invalid array initializer (Out of Memory)
Labels clang
Assignees
Reporter apbenson00
    ## Overview
- bug was found from fuzzing
- crash on invalid
- Does not throw SIGKILL but gives full stack dump on CompilerExplorer for Out of Memory (OOM)

## Code
```
y0[]= { [3766666666]7}
```
## CompilerExplorer
https://godbolt.org/z/9bxezsqfd

## Notes
- seems to crash on all previous versions of x86-64 clang from CompilerExplorer
- on my 64GB machine, attempted to allocate >50GB of space then crash
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to