[Patches] [ python-Patches-430986 ] Buglet in PyUnicode_FromUnicode

noreply@sourceforge.net noreply@sourceforge.net
Thu, 07 Jun 2001 05:26:45 -0700


Patches item #430986, was updated on 2001-06-07 03:20
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=430986&group_id=5470

Category: core (C code)
Group: None
>Status: Closed
Resolution: None
Priority: 5
Submitted By: Walter Dörwald (doerwalter)
>Assigned to: M.-A. Lemburg (lemburg)
Summary: Buglet in PyUnicode_FromUnicode

Initial Comment:
PyUnicode_FromUnicode contains the following
code, which is clearly wrong:

   unicode = _PyUnicode_New(1);
   unicode->str[0] = *u;
   if (!unicode)
      return NULL;


----------------------------------------------------------------------

>Comment By: M.-A. Lemburg (lemburg)
Date: 2001-06-07 05:26

Message:
Logged In: YES 
user_id=38388

Thanks. I checked in a fix in CVS.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=430986&group_id=5470