Red Hat Bugzilla – Bug 173233
FPE (divide by zero) in util.c (fixed in upstream CVS)
Last modified: 2013-03-13 00:49:14 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20051103 Fedora/1.5-0.5.0.rc1 Firefox/1.5
Description of problem:
This version has a nasty divide by zero problem that appears fixed in upstream CVS.
2005-11-14 Danny Kukawka <firstname.lastname@example.org>
* hald/util.c: (util_compute_time_remaining): fixed multiple 'devision
by zero' bugs which could happen, if calculate the 'remaining time'
based on time and nothing is changed on battery.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
2. wait for multiple battery events to occur within one second
3. hal crashes silently with FPE