FreeBSD Bugzilla – Attachment 122121 Details for
Bug 165239
[PATCH] lang/python27 2.x/3.x DoS vulnerable
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 561 bytes, created by
Bernard Spil
on 2012-02-17 15:30:15 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Bernard Spil
Created:
2012-02-17 15:30:15 UTC
Size:
561 bytes
patch
obsolete
>--- Lib/SimpleXMLRPCServer.py.orig 2011-06-11 17:46:23.000000000 +0200 >+++ Lib/SimpleXMLRPCServer.py 2012-02-17 16:17:11.000000000 +0100 >@@ -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)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 165239
: 122121