59062c
--- Python-2.5-orig/Modules/_tkinter.c	2006-08-11 22:33:36.000000000 -0400
59062c
+++ Python-2.5/Modules/_tkinter.c	2007-10-19 01:04:42.000000000 -0400
59062c
@@ -938,7 +938,7 @@
59062c
 #if defined(Py_UNICODE_WIDE) && TCL_UTF_MAX == 3
59062c
 		Tcl_UniChar *outbuf;
59062c
 		Py_ssize_t i;
59062c
-		assert(size < size * sizeof(Tcl_UniChar));
59062c
+		assert(size == 0 || size < size * sizeof(Tcl_UniChar));
59062c
 		outbuf = (Tcl_UniChar*)ckalloc(size * sizeof(Tcl_UniChar));
59062c
 		if (!outbuf) {
59062c
 			PyErr_NoMemory();