| commit | 7e639c0229b96c398e04de5acaf3010252b98d2c | [log] [tgz] |
|---|---|---|
| author | Ian Lance Taylor <iant@golang.org> | Wed Jan 08 21:40:33 2014 -0800 |
| committer | Ian Lance Taylor <iant@golang.org> | Wed Jan 08 21:40:33 2014 -0800 |
| tree | f00dcf545e61a5d449a2cdc048ac974f99ea7f4b | |
| parent | 2d55fdb507982eb6539868cf54a0c7f14c1b8cec [diff] |
runtime: change errorCString to a struct This prevents callers from using reflect to create a new instance of errorCString with an arbitrary value and calling the Error method to examine arbitrary memory. Fixes #7084. R=golang-codereviews, minux.ma, bradfitz CC=golang-codereviews https://golang.org/cl/49600043