head	1.2;
access;
symbols
	RELEASE_8_3_0:1.1;
locks; strict;
comment	@# @;


1.2
date	2012.06.29.23.06.06;	author scheidell;	state dead;
branches;
next	1.1;

1.1
date	2012.02.19.10.37.02;	author lwhsu;	state Exp;
branches;
next	;


desc
@@


1.2
log
@- Update to 1.9 [1]
- Detection of insufficient memory [1]
- Change %%  SUB vaes from fixed at python 27 to use any installed version of python [1]
- Fix syntax of non system include "" vs <> [2]

PR:		ports/168974 [1]
Submitted by:	David Naylor <naylor.b.david@@gmail.com> (maintainer) [1]
Reviewed by:	scheidel@@ (me) [2]
@
text
@--- lib-python/2.7/SimpleXMLRPCServer.py.orig	2012-02-19 02:22:59.736459292 +0800
+++ lib-python/2.7/SimpleXMLRPCServer.py	2012-02-19 02:24:04.434444259 +0800
@@@@ -486,7 +486,10 @@@@
             L = []
             while size_remaining:
                 chunk_size = min(size_remaining, max_chunk_size)
-                L.append(self.rfile.read(chunk_size))
+                chunk = self.rfile.read(chunk_size)
+                if not chunk:
+                    break
+                L.append(chunk)
                 size_remaining -= len(L[-1])
             data = ''.join(L)
 
@


1.1
log
@- Update to 1.8
- Add fix for CVE-2012-0845

PR:		ports/165026
Submitted by:	David Naylor <naylor.b.david@@gmail.com> (maintainer)
@
text
@@

