<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>Divide by zero error in /ansel/lib/Exif.php</title> 
  <pubDate>Fri, 10 Apr 2026 15:00:30 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/8761</link> 
  <atom:link rel="self" type="application/rss+xml" title="Divide by zero error in /ansel/lib/Exif.php" href="https://bugs.horde.org/ticket/8761/rss" /> 
  <description>Divide by zero error in /ansel/lib/Exif.php</description> 
 
   
   
  <item> 
   <title>There appears to be a bug in Exif.php where it doesn&#039;t check</title> 
   <description>There appears to be a bug in Exif.php where it doesn&#039;t check to see whether it&#039;s about to divide by zero when calculating the shutter speed. This patch fixes the issue in /ansel/lib/Exif.php.</description> 
   <pubDate>Tue, 08 Dec 2009 22:42:07 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8761#t57064</link> 
  </item> 
   
  <item> 
   <title>Looks like there are lots of places in Exifer&#039;s original cod</title> 
   <description>Looks like there are lots of places in Exifer&#039;s original code that this should be checked...OTOH, the exif standard says that values for those fields shouldn&#039;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? 

Also, please read docs/CODING_STANDARDS when submitting future patches, and thanks!</description> 
   <pubDate>Wed, 09 Dec 2009 01:32:11 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8761#t57075</link> 
  </item> 
   
  <item> 
   <title>&gt; Looks like there are lots of places in Exifer&#039;s original c</title> 
   <description>&gt; Looks like there are lots of places in Exifer&#039;s original code that 
&gt; this should be checked...OTOH, the exif standard says that values for 
&gt; those fields shouldn&#039;t contain a zero denominator and are rational 
&gt; numbers. What is the source of the exif information that is broken? 
&gt; Can you upload a sample image file?

I&#039;m on my phone right now which has uploads disabled. The file is at http://jon.spriggs.org.uk/exif_error.jpg

&gt; Also, please read docs/CODING_STANDARDS when submitting future 
&gt; patches, and thanks!

Will do.

Jon</description> 
   <pubDate>Wed, 09 Dec 2009 10:44:00 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8761#t57078</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in CVS for this ticket:

Protect from</title> 
   <description>Changes have been made in CVS for this ticket:

Protect from divide-by-zero errors due to faulty exif data.
Bug: 8761
Submitted by: jon (at) spriggs (dot) org (dot) uk
http://cvs.horde.org/diff.php/ansel/lib/Exif.php?rt=horde&amp;r1=1.41.2.11&amp;r2=1.41.2.12&amp;ty=u</description> 
   <pubDate>Sun, 13 Dec 2009 23:38:31 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8761#t57137</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git for this ticket:

Protect agai</title> 
   <description>Changes have been made in Git for this ticket:

Protect against division by zero from faulty exif data. Bug: 8761

http://git.horde.org/diff.php/framework/Image/lib/Horde/Image/Exif.php?rt=horde-hatchery&amp;r1=6b4e0ea33bc6cfa1269e6dca4f56f89f421921c0&amp;r2=e2c90271b152af30c18674bef5e93e742b90097e</description> 
   <pubDate>Sun, 13 Dec 2009 23:42:45 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8761#t57138</link> 
  </item> 
   
  <item> 
   <title>Seems like the php native exif functions return invalid data</title> 
   <description>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!</description> 
   <pubDate>Sun, 13 Dec 2009 23:45:03 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8761#t57139</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git for this ticket:

Protect agai</title> 
   <description>Changes have been made in Git for this ticket:

Protect against division by zero from faulty exif data. Bug: 8761

http://git.horde.org/diff.php/framework/Image/lib/Horde/Image/Exif.php?rt=horde-git&amp;r1=6b4e0ea33bc6cfa1269e6dca4f56f89f421921c0&amp;r2=e2c90271b152af30c18674bef5e93e742b90097e</description> 
   <pubDate>Wed, 13 Jan 2010 00:17:46 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8761#t57677</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
