Bug#756186: logwatch: Uninitialized variable ($bb) in logwatch exim script.

2014-08-07 Thread Willi Mann
Am 2014-08-07 11:28, schrieb Jeremiah C. Foster:
 On Thu, Aug 07, 2014 at 06:52:48AM +0200, Willi Mann wrote:
 Sorry I didn't see this earlier, but I think the fix is to change line
 478 in /usr/share/logwatch/scripts/services/exim from

 ( $bb ) = ($ThisOne =~ m/\@\[^]+/);
 to
 ( $bb ) = ($ThisOne =~ m/\@[^]+/);

 Could you try whether this fixes the problem?
 
 Yes, this fixes the problem! 
 
 Thanks,
 
 Jeremiah

thank you for your cooperation, the fix will be included in my next upload.
Willi


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#756186: logwatch: Uninitialized variable ($bb) in logwatch exim script.

2014-08-03 Thread Willi Mann
Am 2014-08-02 22:21, schrieb Jeremiah C. Foster:

Hi Jeremiah,

 Logwatch is mailing reports which contain the line; 

 Use of uninitialized value $bb in concatenation (.) or string at 
 /usr/share/logwatch/scripts/services/exim line 490, STDIN line 3480.

 This looks to be an error in initializing the $bb variable. Further 
 investigation is likely necessary.

 What I would need are the log lines that caused this meesage to occur. 
 
 It looks as if it is coming from STDIN;
 
 Use of uninitialized value $bb in concatenation (.) or string at 
 /usr/share/logwatch/scripts/services/exim line 489, STDIN line 4611.

The core logwatch script sends the logfiles preprocessed to the service
reporters on STDIN. Unfortunately, the error occurs in the phase where
the logfile already has been parsed completly, so the line number
reported is just the number of lines the script received.

 I
 would guess that it is either yet another format of IPv6 addresses that
 the IP-Address regex does not cover or a line that matches

 /remote host address is the local host/

 but not

 /\@\[^]+/

 (lines 476-478)

 I have a suspicion you're right. :-)
 
 To follow up completely, should I send you a copy of the exim log? 

That would be the easiest option, except for the possible privacy
problems this might cause. In order to minimize the impact, you could
encrypt it, though (you can verify the authenticity of my key via the
debian-keyring package).

Another option would be to just send me the lines matching the /remote
host address is the local host/ regex, because they are probably enough
to reproduce the problem.

thanks
Willi



signature.asc
Description: OpenPGP digital signature


Bug#756186: logwatch: Uninitialized variable ($bb) in logwatch exim script.

2014-07-27 Thread Jeremiah C. Foster
Package: logwatch
Version: 7.4.0+svn20131108rev175-1
Severity: normal
Tags: upstream

Dear Maintainer,

Logwatch is mailing reports which contain the line; 

Use of uninitialized value $bb in concatenation (.) or string at 
/usr/share/logwatch/scripts/services/exim line 490, STDIN line 3480.

This looks to be an error in initializing the $bb variable. Further 
investigation is likely necessary.


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (x86_64)

Kernel: Linux 3.13.7-x86_64-linode38 (SMP w/3 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages logwatch depends on:
ii  exim4-daemon-heavy [mail-transport-agent]  4.82.1-2
ii  perl   5.18.2-7

Versions of packages logwatch recommends:
ii  libdate-manip-perl  6.46-1

Versions of packages logwatch suggests:
pn  fortune-mod  none

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#756186: logwatch: Uninitialized variable ($bb) in logwatch exim script.

2014-07-27 Thread Willi Mann
Hi,

 Dear Maintainer,
 
 Logwatch is mailing reports which contain the line; 
 
 Use of uninitialized value $bb in concatenation (.) or string at 
 /usr/share/logwatch/scripts/services/exim line 490, STDIN line 3480.
 
 This looks to be an error in initializing the $bb variable. Further 
 investigation is likely necessary.

What I would need are the log lines that caused this meesage to occur. I
would guess that it is either yet another format of IPv6 addresses that
the IP-Address regex does not cover or a line that matches

/remote host address is the local host/

but not

/\@\[^]+/

(lines 476-478)

thanks
WM


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org