aboutsummaryrefslogtreecommitdiff
path: root/src/bytes/buffer.go
diff options
context:
space:
mode:
authorDavid Chase <drchase@google.com>2016-12-23 12:00:07 -0500
committerDavid Chase <drchase@google.com>2017-01-06 20:35:52 +0000
commit41d2278eef7a834c0c5191c479a1ba4934c7ec0a (patch)
treebf361c1e7288c9775429266aabfbc476c6015c30 /src/bytes/buffer.go
parenta37b9e8e70fd8e614caa6077b3b8afb488f7f59e (diff)
downloadgo-41d2278eef7a834c0c5191c479a1ba4934c7ec0a.tar.xz
cmd/compile: rewrite literal.method to ensure full initialization
CALLPART of STRUCTLIT did not check for incomplete initialization of struct; modify PTRLIT treatment to force zeroing. Test for structlit, believe this might have also failed for arraylit. Fixes #18410. Change-Id: I511abf8ef850e300996d40568944665714efe1fc Reviewed-on: https://go-review.googlesource.com/34622 Run-TryBot: David Chase <drchase@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Keith Randall <khr@golang.org>
Diffstat (limited to 'src/bytes/buffer.go')
0 files changed, 0 insertions, 0 deletions