Ticket #54 (seen Problem)

Opened 13 months ago

Last modified 4 months ago

Undefined value as a SCALAR reference in /site-report.pl

Reported by: robin Owned by:
Priority: Normal Component: Bro
Version: 1.4 Keywords:
Cc:

Description

(This is after applying the patch in #51 but I don't think that's related. -Robin)

From: Peter Hart-Davis

Something else I have picked up since is that running site-report.pl
returns the following error: " Can't use an undefined value as a SCALAR
reference at ./site-report.pl line 1278." Any suggestions would be
appreciated.

Attachments

Change History

Changed 12 months ago by robin

  • status changed from new to seen

Changed 8 months ago by tim@…

I encountered the same problem, my work around was to change the summary_only option to 0 on line 70 of the site-report.pl script. My line 70 now looks like
$DEFAULT_CONFIG->{'summary_only'} = 0;

Changed 4 months ago by edwarddean3@…

While the error can be avoided by setting the summary-only variable to
0, you then will not get full reports generated.

The error seems to be that several variables containing the reportable
data are not set due to the if-statement on line 492. This if
statement sets variables (header, incident_summ, incident_details,
system_summ, scan_summ, signature_distribtution) only if summary_only
is set to 0. I do not see any reason for this if statement and upon
removing it, I am able to get full reports rather than just the
summary.

Add/Change #54 (Undefined value as a SCALAR reference in /site-report.pl)

Author



Action
as seen
 
Note: See TracTickets for help on using tickets.