diff options
author | dgp <dgp@users.sourceforge.net> | 2011-07-13 17:53:58 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2011-07-13 17:53:58 (GMT) |
commit | 965e4bbab2201076c8c2bc6ae5baca705ab889b0 (patch) | |
tree | f1620db0ed8edabd97357b78ee3e6acb96377b72 /tests/indexObj.test | |
parent | 15d2827a35e23f3221491e1cfc89efa5545e9e9f (diff) | |
download | tcl-965e4bbab2201076c8c2bc6ae5baca705ab889b0.zip tcl-965e4bbab2201076c8c2bc6ae5baca705ab889b0.tar.gz tcl-965e4bbab2201076c8c2bc6ae5baca705ab889b0.tar.bz2 |
3366265 Buffer allocated one byte too small caused overrun.
Diffstat (limited to 'tests/indexObj.test')
-rw-r--r-- | tests/indexObj.test | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/indexObj.test b/tests/indexObj.test index 6dd66b6..414901f 100644 --- a/tests/indexObj.test +++ b/tests/indexObj.test @@ -108,6 +108,11 @@ test indexObj-5.5 {Tcl_WrongNumArgs} { test indexObj-5.6 {Tcl_WrongNumArgs} { testwrongnumargs 2 "" mycmd foo } "wrong # args: should be \"mycmd foo\"" +# Contrast this with test proc-3.6; they have to be like this because +# of [Bug 1066837] so Itcl won't break. +test indexObj-5.7 {Tcl_WrongNumArgs} testindexobj { + testwrongnumargs 2 "fee fi" "fo fum" foo bar +} "wrong # args: should be \"fo fum foo fee fi\"" test indexObj-6.1 {Tcl_GetIndexFromObjStruct} { set x a |