Message45398
| Author |
calvin |
| Recipients |
| Date |
2004年02月19日.23:14:41 |
| SpamBayes Score |
| Marked as misclassified |
| Message-id |
| In-reply-to |
| Content |
In HTTPResponse._read_chunked the chunk length is not
checked to be a valid integer, and a ValueError will be
raised in such a case.
The attached patch catches ValueError (which should not
normally happen, so this try:except: is reasonably
fast), and raises IncompleteRead exception instead.
I have no test case for this yet, but am trying to
construct one :) |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2007年08月23日 15:32:25 | admin | link | issue900744 messages |
| 2007年08月23日 15:32:25 | admin | create |
|