[Koha-bugs] [Bug 2879] New: cloud-kw.pl: can crash with divide by zero error
bugzilla-daemon at pippin.metavore.com
bugzilla-daemon at pippin.metavore.com
Tue Dec 23 00:21:25 CET 2008
http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=2879
Summary: cloud-kw.pl: can crash with divide by zero error
Product: Koha
Version: HEAD
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P3
Component: Command-line Utilities
AssignedTo: frederic at tamil.fr
ReportedBy: galen.charlton at liblime.com
QAContact: koha-bugs at lists.koha.org
Around line 177 cloud-kw.pl calculates $delta which it uses in a division
around line 189:
my $delta = $max - $min;
However, if $max and $min are the same (which can happen in a small test
database or if scanning an index of a unique identifier field), $delta is set
to 0, and cloud-kw.pl will crash at the division.
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
More information about the Koha-bugs
mailing list