]> Cypherpunks repositories - gostls13.git/commit
cmd/gc: avoid pointer beyond array in range loop
authorRuss Cox <rsc@golang.org>
Sun, 16 Feb 2014 01:00:57 +0000 (20:00 -0500)
committerRuss Cox <rsc@golang.org>
Sun, 16 Feb 2014 01:00:57 +0000 (20:00 -0500)
commit8b6ef69e239ac9abbb187915dbd345c0406435ec
tree2355dab14543dc70ca989934311e9c34cd2be87d
parent7056b05f7a918a95e4ce6d118ae2bc0892c256f6
cmd/gc: avoid pointer beyond array in range loop

This problem was discovered by reading the code.
I have not seen it in practice, nor do I have any ideas
on how to trigger it reliably in a test. But it's still worth
fixing.

TBR=ken2
CC=golang-codereviews
https://golang.org/cl/64370046
src/cmd/gc/range.c