[Zope-Checkins] SVN: Zope/hotfixes/Hotfix_20080812/__init__.py cleanup

Andreas Jung andreas at andreas-jung.com
Tue Aug 12 11:28:46 EDT 2008


Log message for revision 89737:
  cleanup
  

Changed:
  U   Zope/hotfixes/Hotfix_20080812/__init__.py

-=-
Modified: Zope/hotfixes/Hotfix_20080812/__init__.py
===================================================================
--- Zope/hotfixes/Hotfix_20080812/__init__.py	2008-08-12 15:09:12 UTC (rev 89736)
+++ Zope/hotfixes/Hotfix_20080812/__init__.py	2008-08-12 15:28:45 UTC (rev 89737)
@@ -1,12 +1,14 @@
 
 
+################################################################
 # Monkey patch for LP #257276
-
+#
 # This code is taken from the encodings module of Python 2.4.
 # Note that this code is originally (C) CNRI and it is possibly not compatible
 # with the ZPL and therefore should not live within svn.zope.org. However this
 # checkin is blessed by Jim Fulton for now. The fix is no longer required with
 # Python 2.5 and hopefully fixed in Python 2.4.6 release.
+################################################################
 
 
 def search_function(encoding):
@@ -90,8 +92,13 @@
     return entry
 
 
-# MONKEY
 
+
+################################################################
+# Monkey patch for LP #257269
+# raise SystemExit exploit in PythonScripts
+################################################################
+
 import encodings
 encodings.search_function.func_code = search_function.func_code
 



More information about the Zope-Checkins mailing list