]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1] text/template: pipelined arg was not typechecked
authorRob Pike <r@golang.org>
Tue, 3 Apr 2012 01:44:52 +0000 (11:44 +1000)
committerRob Pike <r@golang.org>
Tue, 3 Apr 2012 01:44:52 +0000 (11:44 +1000)
commitefcd0d5bd82a9fd7d3847b459d61b67f962437c9
tree61fb2257a98d1f412a2c6b15b5401259b6ad0fad
parent7510885c4dc552e343b8a49a8e51210534ef3ba2
[release-branch.go1] text/template: pipelined arg was not typechecked

««« backport c007925a75c6
text/template: pipelined arg was not typechecked
Without this fix, an erroneous template causes a panic; should be caught safely.
The bug did not affect correct templates.

Fixes #3267.

R=golang-dev, dsymonds, rsc
CC=golang-dev
https://golang.org/cl/5900065
»»»
src/pkg/text/template/exec.go
src/pkg/text/template/exec_test.go