bugGNU Scientific Library - Bugs: bug #22777, potential division by zero in...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #22777: potential division by zero in gsl-1.10/monte/miser.c

Submitted by:  -Deleted Account- <bjg>
Submitted on:  Sat 29 Mar 2008 02:55:30 PM UTC  
 
Category: Runtime errorSeverity: 3 - Normal
Operating System: Status: Fixed
Assigned to: -Deleted Account- <bjg>Open/Closed: Closed
Release: 1.10

Sat 26 Apr 2008 01:20:17 PM UTC, comment #1:

fixed by 41d6068d4843be983fd8da81bff8b7a011e87931

-Deleted Account- <bjg>In charge of this item.
Sat 29 Mar 2008 02:55:30 PM UTC, original submission:

From: Brad Bell <bradbell@seanet.com>
To: -unavailable-
Subject: [Bug-gsl] Bug in gsl-1.10/monte/miser.c
Date: Sat, 22 Mar 2008 07:52:55 -0700

[1 <text/plain; ISO-8859-1 (7bit)>]
I wish to report what I think is a bug in
Bug in gsl-1.10/monte/miser.c
An extensive discussion of this bug (and how it was found) can be found at
http://bugzilla.rfpk.washington.edu/show_bug.cgi?id=585

I have further isolated the problem and am attaching a simple bash
script (bug.sh) that both demonstrates the problem and its fix. When I
run this script on my Cygwin system I get the attached output
(bug.out). You will notice that the patched version of miser.c
estimates the integral while the original one does not.

Running the command
./bug.sh
will create a patched version of miser.c called
./gsl_miser_bug/miser.c
A description of the problem can be found in the patched version of
miser.c (search for the text "Begin Patch" in miser.c).

Note. You will need to edit the bug.sh file to specify the location of
the gsl source code on your machine.

-Deleted Account- <bjg>In charge of this item.

 

Attached Files
file #15359:  bug.sh added by bjg (3KiB - application/x-sh)
file #15360:  bug.out added by bjg (675B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 6 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sat 26 Apr 2008 01:20:17 PM UTCbjgStatusConfirmed=>Fixed
  Assigned toNone=>bjg
  Open/ClosedOpen=>Closed
Sat 26 Apr 2008 01:15:38 PM UTCbjgStatusNone=>Confirmed
Sat 29 Mar 2008 02:55:30 PM UTCbjgAttached File-=>Added bug.sh, #15359
  Attached File-=>Added bug.out, #15360

Back to the top


Powered by Savane 3.1-cleanup1