A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/python/cpython/commit/66f3cc6f8de83c447d937160e4a1630c4482b5f5 below:

Fix an endless loop in SimpleXML… · python/cpython@66f3cc6 · GitHub

File tree Expand file treeCollapse file tree 2 files changed

+7

-1

lines changed

Filter options

Expand file treeCollapse file tree 2 files changed

+7

-1

lines changed Original file line number Diff line number Diff line change

@@ -459,7 +459,10 @@ def do_POST(self):

459 459

L = []

460 460

while size_remaining:

461 461

chunk_size = min(size_remaining, max_chunk_size)

462 -

L.append(self.rfile.read(chunk_size))

462 +

chunk = self.rfile.read(chunk_size)

463 +

if not chunk:

464 +

break

465 +

L.append(chunk)

463 466

size_remaining -= len(L[-1])

464 467

data = ''.join(L)

465 468 Original file line number Diff line number Diff line change

@@ -13,6 +13,9 @@ Core and Builtins

13 13

Library

14 14

-------

15 15 16 +

- Issue #14001: CVE-2012-0845: xmlrpc: Fix an endless loop in

17 +

SimpleXMLRPCServer upon malformed POST request.

18 + 16 19

- Issue #13885: CVE-2011-3389: the _ssl module would always disable the CBC

17 20

IV attack countermeasure.

18 21

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4