Home
My Page
Projects
OpenVAS

[#1343] OpenVAS-Client coredumps when trying to export empty report to latex

Date:
2010-03-25 18:47
Priority:
3
State:
Closed
Submitted by:
Michal Ambroz (rebus)
Assigned to:
Tim Brown (timb)
Architecture:
32 bits
Product:
OpenVAS
Operating System:
Linux
Component:
openvas-client
Version:
3.0.0
Severity:
normal
Resolution:
Fixed
Hardware:
PC
URL:
https://bugzilla.redhat.com/show_bug.cgi?id=openvas-client
 
Summary:
OpenVAS-Client coredumps when trying to export empty report to latex

Detailed description
Hello,

OpenVAS-Client coredumps when trying to export empty report to latex.

I was testing in Fedora Core 12.



Attached report from .openvas/Home/Home_Network directory



To reproduce:

1) copy / untar to your .openvas/Home/Home_Network directory

2) run OpenVAS-Client

3) click report Report 20100325-123714

4) Report/Export

5) Choose latex as output, choose file, export

6) Crash, application disappears





Best regards

Michal Ambroz

Followup

Message
Date: 2010-03-25 21:49
Sender: Tim Brown

Fixed in trunk, this was a divide by 0 when calculating pholes etc where hosts was 0.
Date: 2010-03-25 21:19
Sender: Tim Brown

Program received signal SIGFPE, Arithmetic exception.
0x000000000041e8e1 in latex_report_category (list=0xb87200, filename=<value optimized out>) at latex_output.c:66
66 all = (pholes * 10) + (pwarnings * 5) + pnotes;

Attached Files:

Attachments:
Report_20100325-123714.tgz

Changes:

Field Old Value Date By
close_date2010-03-25 21:502010-03-25 21:50timb
status_idOpen2010-03-25 21:50timb
ResolutionNone2010-03-25 21:49timb
assigned_tonone2010-03-25 21:20timb
File Added414: Report_20100325-123714.tgz2010-03-25 18:47rebus

This site is hosted by Intevation GmbH