I submitted this patch to bug #301563 but it hasn't been applied yet. That may not have been the correct place to submit the bug as it was against an older package (python2.3-gdchart2).
Anyways, the patch is attached. -- John Eikenberry [EMAIL PROTECTED] - http://zhar.net] ______________________________________________________________ "It is difficult to produce a television documentary that is both incisive and probing when every twelve minutes one is interrupted by twelve dancing rabbits singing about toilet paper." - Rod Serling
--- _gdchartc.c.orig 2006-11-06 23:25:51.000000000 -0500 +++ _gdchartc.c 2006-11-06 23:27:29.000000000 -0500 @@ -713,7 +713,7 @@ if (pstr == NULL) goto cleanup; slen = PyString_Size(pstr); - if ((slen = 0)) + if (slen == 0) goto cleanup; mem = malloc((size_t)slen+1); if (mem == NULL){