Closed catenacyber closed 1 year ago
Headline says "OOM" -- do you have a heap profile you could share? Thanks.
do you have a heap profile you could share
Never mind, I can see the issue now:
Showing nodes accounting for 4011048.28kB, 100% of 4011052.89kB total
Dropped 47 nodes (cum <= 20055.26kB)
----------------------------------------------------------+-------------
flat flat% sum% cum cum% calls calls% + context
----------------------------------------------------------+-------------
4011048.59kB 100% | debug/buildinfo.readRawBuildInfo
4011048.15kB 100% 100% 4011048.59kB 100% | internal/xcoff.NewFile
----------------------------------------------------------+-------------
Change https://go.dev/cl/413875 mentions this issue: internal/xcoff: use saferio to read string table
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/mzysSGc5TMs?v=gotip (not working on go 1.17 as this package did not exist yet)
What did you expect to see?
The program finishing and printing hello
What did you see instead?
Only
Found by https://github.com/catenacyber/ngolo-fuzzing on oss-fuzz https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=46441
cc @ianlancetaylor