[Bug 2879] New: cloud-kw.pl: can crash with divide by zero error
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@tamil.fr ReportedBy: galen.charlton@liblime.com QAContact: koha-bugs@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.
participants (1)
-
bugzilla-daemon@pippin.metavore.com