Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #31239 > unrolled thread
| Started by | Chris Angelico <rosuav@gmail.com> |
|---|---|
| First post | 2012-10-14 15:49 +1100 |
| Last post | 2012-10-14 15:49 +1100 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Understanding and dealing with an exception Chris Angelico <rosuav@gmail.com> - 2012-10-14 15:49 +1100
| From | Chris Angelico <rosuav@gmail.com> |
|---|---|
| Date | 2012-10-14 15:49 +1100 |
| Subject | Re: Understanding and dealing with an exception |
| Message-ID | <mailman.2166.1350190179.27098.python-list@python.org> |
On Sun, Oct 14, 2012 at 3:36 PM, Vincent Davis <vincent@vincentdavis.net> wrote: > Oops, I was going to make note of the file size. 1.2MB Then I'd definitely declare the file bad; I don't know what the valid ranges for channels and ysize are, but my reading of that is that your file's completely corrupt, maybe even malicious. PIL probably ought to check these things, so there may be a tracker issue coming from this, but I'd be inclined to declare any thrown exception as meaning it's a bad file. Call it "failed a security check" perhaps. ChrisA
Back to top | Article view | comp.lang.python
csiph-web