Bug 173233

Summary: FPE (divide by zero) in util.c (fixed in upstream CVS)
Product: [Fedora] Fedora Reporter: Tom London <selinux>
Component: halAssignee: John (J5) Palmieri <johnp>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: jkeck
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-11-17 22:11:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tom London 2005-11-15 14:24:15 UTC
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  <danny.kukawka>

	* 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):
hal-0.5.4.cvs20051111-1

How reproducible:
Always

Steps to Reproduce:
1. boot
2. wait for multiple battery events to occur within one second
3. hal crashes silently with FPE
  

Additional info: