Bug 173233 - FPE (divide by zero) in util.c (fixed in upstream CVS)
Summary: FPE (divide by zero) in util.c (fixed in upstream CVS)
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: hal
Version: rawhide
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: John (J5) Palmieri
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-11-15 14:24 UTC by Tom London
Modified: 2013-03-13 04:49 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-11-17 22:11:04 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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:


Note You need to log in before you can comment on or make changes to this bug.