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

bugs at horde.org bugs at horde.org
Sun Dec 13 23:45:03 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         | Michael Rubinsky <mrubinsk at horde.org>
  Summary            | Divide by zero error in /ansel/lib/Exif.php
  Queue              | Ansel
  Version            | 1.1
  Type               | Bug
-State              | Feedback
+State              | Resolved
  Priority           | 1. Low
  Milestone          |
  Patch              | 1
  Owners             | Michael Rubinsky
------------------------------------------------------------------------------


Michael Rubinsky <mrubinsk at horde.org> (2009-12-13 18:45) wrote:

Seems like the php native exif functions return invalid data for some  
fields when the value is not defined in the image source. Fixed,  
though instead of returning zero like your patch did, we simply return  
from the function, since the value of x/0 is not 0, but undefined.

Thanks for the catch!






More information about the bugs mailing list