summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2011-07-19 19:31:31 (GMT)
committerdgp <dgp@users.sourceforge.net>2011-07-19 19:31:31 (GMT)
commit825281a370de5345ff13fbb6c8fb612afb93295a (patch)
tree94cd602dcf7621440e6a3ecbe365cb755ee368d3 /tests
parent6dc6abffa7924bc7ef004be95916702634242133 (diff)
parent66bf88283d33ff4538e807214de979b630e80158 (diff)
downloadtcl-825281a370de5345ff13fbb6c8fb612afb93295a.zip
tcl-825281a370de5345ff13fbb6c8fb612afb93295a.tar.gz
tcl-825281a370de5345ff13fbb6c8fb612afb93295a.tar.bz2
3371644 Repair failure to properly handle (length == -1) in TclConvertElement().
Diffstat (limited to 'tests')
-rw-r--r--tests/util.test8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/util.test b/tests/util.test
index d06925b..15457da 100644
--- a/tests/util.test
+++ b/tests/util.test
@@ -175,6 +175,12 @@ test util-3.5.1 {Tcl_ConverCountedElement procedure - quote leading '#'} {
rename #\{ {}
set result
} {#}
+test util-3.6 {Tcl_ConvertElement, Bug 3371644} {
+ interp create #\\
+ interp alias {} x #\\ concat
+ interp target {} x ;# Crash if bug not fixed
+ interp delete #\\
+} {}
test util-4.1 {Tcl_ConcatObj - backslash-space at end of argument} {
concat a {b\ } c
@@ -3895,4 +3901,4 @@ return
# Local Variables:
# mode: tcl
-# End:
+# End: \ No newline at end of file