tpl: check slice bounds in slicestr
authorbep <bjorn.erik.pedersen@gmail.com>
Thu, 30 Apr 2015 09:26:34 +0000 (11:26 +0200)
committerbep <bjorn.erik.pedersen@gmail.com>
Thu, 30 Apr 2015 09:26:45 +0000 (11:26 +0200)
commitbe017f187e7c9beac6baabdba32bdb5753f9b4d4
treee583686a1ca072ce43e38c5ed199318db48ac5c0
parentbe3b8a132ba72aa3a797101f942e555610553f72
tpl: check slice bounds in slicestr

Fixes #1090
tpl/template_funcs.go
tpl/template_funcs_test.go
tpl/template_test.go