]> Cypherpunks repositories - gostls13.git/commit
text/template: don't crash piping to call with no arguments
authorIan Lance Taylor <iant@golang.org>
Thu, 14 Nov 2024 17:17:15 +0000 (09:17 -0800)
committerGopher Robot <gobot@golang.org>
Mon, 18 Nov 2024 16:24:22 +0000 (16:24 +0000)
commit1fba1f60620d386c4754814d462c6482226431b0
tree6612244fb6e18242c508be44b1ebf1d3ac220c96
parent2779e3a4530451959313a1a87787e8eb4f80ef1c
text/template: don't crash piping to call with no arguments

Fixes #70341

Change-Id: I792b15d5e8d08c3762659fbcdfb3d620b59071ca
Reviewed-on: https://go-review.googlesource.com/c/go/+/628096
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Rob Pike <r@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Zxilly Chou <zhouxinyu1001@gmail.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
src/text/template/exec.go
src/text/template/exec_test.go