]> Cypherpunks repositories - gostls13.git/commit
gc: put limit on size of exported recursive interface
authorLorenzo Stoakes <lstoakes@gmail.com>
Mon, 9 Jan 2012 16:48:53 +0000 (11:48 -0500)
committerRuss Cox <rsc@golang.org>
Mon, 9 Jan 2012 16:48:53 +0000 (11:48 -0500)
commitaa63a928ea6b2fb6b2edb10fd8d98c98f20d5274
treed0c7a3605c88e5922a28e11e37994a9d8979091e
parent2cb6fcf63f9f7f87ffa78b86a23bf33fc19e76ad
gc: put limit on size of exported recursive interface

Prevents edge-case recursive types from consuming excessive memory.

Fixes #1909.

R=golang-dev, lvd, rsc
CC=golang-dev
https://golang.org/cl/5504108
src/cmd/gc/fmt.c