]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.4] runtime: don't return a slice with nil ptr but non-zero len...
authorShenghou Ma <minux@golang.org>
Wed, 11 Mar 2015 16:07:50 +0000 (12:07 -0400)
committerChris Broadfoot <cbro@golang.org>
Tue, 22 Sep 2015 06:36:57 +0000 (06:36 +0000)
commite938de22be4ee63d65152024f75d62482d3d69b4
tree19b15634d7e7ae9e87f6684fb08245894c9cda22
parenta527bdbda39c48fa772d8d54eb6b849f240442c1
[release-branch.go1.4] runtime: don't return a slice with nil ptr but non-zero len from growslice

Fixes #10135.

Change-Id: Ic4c5ab15bcb7b9c3fcc685a788d3b59c60c26e1e
Signed-off-by: Shenghou Ma <minux@golang.org>
Reviewed-on: https://go-review.googlesource.com/7400
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-on: https://go-review.googlesource.com/14248
Reviewed-by: Andrew Gerrand <adg@golang.org>
src/runtime/slice.go
test/fixedbugs/issue10135.go [new file with mode: 0644]