debug/elf: oom in NewFile #52522
Labels
compiler/runtime
Issues related to the Go compiler and/or runtime.
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Run https://go.dev/play/p/ZigUarZbe1S
What did you expect to see?
The program finishing and printing somme dummy data
What did you see instead?
Only
Heap profiling shows 3Gbyte allocation indebug/elf.(*Section).Data /usr/local/go/src/debug/elf/file.go:105
Found by https://github.com/catenacyber/ngolo-fuzzing on oss-fuzz
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=46175
cc @ianlancetaylor as you fixed the latest oom
The text was updated successfully, but these errors were encountered: