[exim-dev] [Bug 1376] exiqsumm still throws uninitialized va…

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Gabor Funk
Ημερομηνία:  
Προς: exim-dev
Αντικείμενο: [exim-dev] [Bug 1376] exiqsumm still throws uninitialized values occasionally ($src?)
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1376

Gabor Funk <funk.gabor@???> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |funk.gabor@???
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED





--- Comment #2 from Gabor Funk <funk.gabor@???> 2013-08-11 14:18:20 ---
(In reply to comment #1)
> Created an attachment (id=647)

--> (http://bugs.exim.org/attachment.cgi?id=647) [details]
> Add initialisation to $src
> Does this fix it?



I'm running script with $src initialized and haven't seen the problem occuring
so far. I think this shall fix it, however this error came up very "randomly",
sometimes a dozen times a day, sometimes no error for over a month.
(We run exiqsumm conditionally when exim queue becomes high, or just a
threshold over the "last-average", then we get the alert with exiqsumm-s info,
and can spot easily if some user is sending/receiving large amount of mails,
eg. spam or "newsletter" or account got hacked, etc. Very useful.)

Anyway, initializing $src would not hurt, that was clearly used unitialized on
the elsif branch.

I change to "FIXED".


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email