[Tickets #8761] Re: Divide by zero error in /ansel/lib/Exif.php

bugs at horde.org bugs at horde.org
Wed Dec 9 10:44:00 UTC 2009


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/8761
------------------------------------------------------------------------------
  Ticket             | 8761
  Updated By         | jon at spriggs.org.uk
  Summary            | Divide by zero error in /ansel/lib/Exif.php
  Queue              | Ansel
  Version            | 1.1
  Type               | Bug
  State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              | 1
  Owners             | Michael Rubinsky
------------------------------------------------------------------------------


jon at spriggs.org.uk (2009-12-09 05:44) wrote:

> Looks like there are lots of places in Exifer's original code that  
> this should be checked...OTOH, the exif standard says that values  
> for those fields shouldn't contain a zero denominator and are  
> rational numbers. What is the source of the exif information that is  
> broken? Can you upload a sample image file?

I'm on my phone right now which has uploads disabled. The file is at  
http://jon.spriggs.org.uk/exif_error.jpg

> Also, please read docs/CODING_STANDARDS when submitting future  
> patches, and thanks!

Will do.

Jon






More information about the bugs mailing list