[Python-checkins] python/dist/src/Python pythonrun.c, 2.211.2.2, 2.211.2.3

nnorwitz@users.sourceforge.net nnorwitz at users.sourceforge.net
Sun Oct 2 03:51:59 CEST 2005


Update of /cvsroot/python/python/dist/src/Python
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8741/Python

Modified Files:
      Tag: release24-maint
	pythonrun.c 
Log Message:
Backported:
  Fix segfault with invalid coding.
(See SF bug: 772896 for another fix)


Index: pythonrun.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/pythonrun.c,v
retrieving revision 2.211.2.2
retrieving revision 2.211.2.3
diff -u -d -r2.211.2.2 -r2.211.2.3
--- pythonrun.c	24 Aug 2005 08:39:46 -0000	2.211.2.2
+++ pythonrun.c	2 Oct 2005 01:51:56 -0000	2.211.2.3
@@ -1484,7 +1484,7 @@
 			msg = "unknown decode error";
 		Py_DECREF(type);
 		Py_DECREF(value);
-		Py_DECREF(tb);
+		Py_XDECREF(tb);
 		break;
 	}
 	default:



More information about the Python-checkins mailing list