Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 May 1999 19:07:53 +0200 (CEST)
From:      des@flood.ping.uio.no
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/11430: incorrect int type causes floating point exception in bonnie
Message-ID:  <199905011707.TAA02880@s1.hs.yes.no>

next in thread | raw e-mail | index | archive | help

>Number:         11430
>Category:       ports
>Synopsis:       incorrect int type causes floating point exception in bonnie
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat May  1 08:10:00 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Dag-Erling Smorgrav
>Release:        FreeBSD 3.1-19990412-STABLE i386
>Organization:
Yes! Interactive
>Environment:

	

>Description:

Bonnie apparently uses signed integers to measure scratch file size
etc. Specifying a file size of 2048 MB or more causes wraparound, and
ultimately Bonnie dies of a floating point exception and dumps core.

>How-To-Repeat:

# bonnie -s 2048

>Fix:
	
Use size_t / off_t where appropriate.


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199905011707.TAA02880>