Message58606
| Author |
ehuss |
| Recipients |
ehuss |
| Date |
2007年12月14日.01:31:17 |
| SpamBayes Score |
0.30782834 |
| Marked as misclassified |
No |
| Message-id |
<1197595878.01.0.706002731675.issue1622@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Creating a ZipFile object with a certain type of zip file can cause it
to go into an infinite loop. The problem is the new extra field parsing
routine. It unpacks integers as a signed value, which if they are
sufficiently large (over 32767), then it will loop forever.
There are many places in the zipfile module that incorrectly unpack
values as signed integers, but this is the only place that I can
determine that causes a serious problem.
Attached is a fix. |
| Files |
| File name |
Uploaded |
|
zipfile.patch
|
ehuss,
2007年12月14日.01:31:17
|
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2007年12月14日 01:31:18 | ehuss | set | spambayes_score: 0.307828 -> 0.30782834 recipients:
+ ehuss |
| 2007年12月14日 01:31:18 | ehuss | set | spambayes_score: 0.307828 -> 0.307828 messageid: <1197595878.01.0.706002731675.issue1622@psf.upfronthosting.co.za> |
| 2007年12月14日 01:31:17 | ehuss | link | issue1622 messages |
| 2007年12月14日 01:31:17 | ehuss | create |
|