[Python-checkins] python/dist/src/Objects unicodeobject.c,2.124.6.17,2.124.6.18
nnorwitz@users.sourceforge.net
nnorwitz@users.sourceforge.net
Wed, 06 Nov 2002 16:22:56 -0800
Update of /cvsroot/python/python/dist/src/Objects
In directory usw-pr-cvs1:/tmp/cvs-serv14659/Objects
Modified Files:
Tag: release22-maint
unicodeobject.c
Log Message:
Backport 2.173:
Fix for bug #626172: crash using unicode latin1 single char
Index: unicodeobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/unicodeobject.c,v
retrieving revision 2.124.6.17
retrieving revision 2.124.6.18
diff -C2 -d -r2.124.6.17 -r2.124.6.18
*** unicodeobject.c 11 Oct 2002 00:47:20 -0000 2.124.6.17
--- unicodeobject.c 7 Nov 2002 00:22:53 -0000 2.124.6.18
***************
*** 3821,3828 ****
}
u = (PyUnicodeObject *)PyUnicode_FromObject(container);
! if (u == NULL) {
! Py_DECREF(v);
goto onError;
- }
/* Check v in u */
--- 3821,3826 ----
}
u = (PyUnicodeObject *)PyUnicode_FromObject(container);
! if (u == NULL)
goto onError;
/* Check v in u */