runtime: lack of checking of pointer returned by sysAlloc #41827
Labels
compiler/runtime
Issues related to the Go compiler and/or runtime.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Lack of checking of pointer returned by sysAlloc at src/runtime/mpagealloc.go:395.
Consider move nil checking into sysAlloc function itself. Currently almost all checks simply throw "runtime: cannot allocate memory".
The text was updated successfully, but these errors were encountered: