summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-11-17 20:57:02 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-11-17 20:57:02 (GMT)
commit25efdb60d009bd10bd0586744245c7bde17f40da (patch)
tree54d0e4baa0c7d20d1b73f27a1b3537fd82613f0d
parentbf90364eb7e18c50416631c1dc5f6401871886df (diff)
downloadtk-25efdb60d009bd10bd0586744245c7bde17f40da.zip
tk-25efdb60d009bd10bd0586744245c7bde17f40da.tar.gz
tk-25efdb60d009bd10bd0586744245c7bde17f40da.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 8cf7f10..b59cb29 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-10-11 Jan Nijtmans <nijtmans@users.sf.net>
* generic/tk.h: Add dummy user_data field to
diff --git a/generic/tkCanvas.c b/generic/tkCanvas.c
index 197f28e..8f9641f 100644
--- a/generic/tkCanvas.c
+++ b/generic/tkCanvas.c
@@ -1505,6 +1505,7 @@ CanvasWidgetCmd(clientData, interp, objc, objv)
if (itemPtr == NULL) {
Tcl_AppendResult(interp, "tag \"", Tcl_GetString(objv[3]),
"\" doesn't match any items", (char *) NULL);
+ result = TCL_ERROR;
goto done;
}
itemPtr = itemPtr->prevPtr;