summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-11-17 21:04:40 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-11-17 21:04:40 (GMT)
commit0f11e11b7d81c7a81f04bbbea10b697d82d0e8e4 (patch)
treebb89d37eddbc33a48be64d262bfb4a2a1b80f8e9
parent9bc6d3a39db60af7ee2496433bfa93ff9eb3ef3a (diff)
parent25efdb60d009bd10bd0586744245c7bde17f40da (diff)
downloadtk-0f11e11b7d81c7a81f04bbbea10b697d82d0e8e4.zip
tk-0f11e11b7d81c7a81f04bbbea10b697d82d0e8e4.tar.gz
tk-0f11e11b7d81c7a81f04bbbea10b697d82d0e8e4.tar.bz2
[Bug 3437816]: Missing TCL_ERROR return in [canvas lower]
-rw-r--r--ChangeLog5
-rw-r--r--generic/tkCanvas.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 4a09749..d5bc163 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-11-17 Alexandre Ferrieux <ferrieux@users.sourceforge.net>
+
+ * generic/tkCanvas.c: [Bug 3437816]: Missing TCL_ERROR return
+ in [canvas lower].
+
2011-11-08 Reinhard Max <max@suse.de>
* unix/Makefile.in: Add square to DEMOPROGS. It contains a shebang
diff --git a/generic/tkCanvas.c b/generic/tkCanvas.c
index 253b184..14fe1ab 100644
--- a/generic/tkCanvas.c
+++ b/generic/tkCanvas.c
@@ -1407,6 +1407,7 @@ CanvasWidgetCmd(
if (itemPtr == NULL) {
Tcl_AppendResult(interp, "tag \"", Tcl_GetString(objv[3]),
"\" doesn't match any items", NULL);
+ result = TCL_ERROR;
goto done;
}
itemPtr = itemPtr->prevPtr;