Skip Menu |

This queue is for tickets about the GDGraph CPAN distribution.

Maintainer(s)' notes

There are plenty of good ideas of what people can do published here on the queue. Turning a patch from the tracker into a pull request is not one of them. In order to get maintainers' attention way more quickier, PR should have at least a sample included. We know it's hard to test images generating software, but it doesn't mean we can not test numbers produced by intermediate algorithms used to generate these images, so either a test or a sample.

Report information
The Basics
Id: 3850
Status: resolved
Priority: 0/
Queue: GDGraph

People
Owner: Nobody in particular
Requestors: pete [...] helenius.fi
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.43
Fixed in: 1.4305



Subject: gd::graph divide by zero
Line 1631 on axestype.pm contains test for ($min) which seems to match zero value also. This causes a divide by zero in _fit_interval. I changed the test to read ($min != 0) and now the code works as expected. The issue exists with both perl 5.005 and 5.6.1. Pete