monit-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [monit-dev] New bug for file event empty or corrupt


From: Martin Pala
Subject: Re: [monit-dev] New bug for file event empty or corrupt
Date: Sun, 24 Aug 2008 16:15:07 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.16) Gecko/20080702 Iceape/1.1.11 (Debian-1.1.11-1)

You are right, there was problem ... i have integrated your patch.

Thanks,
Martin


Francisco Javier Félix Belmonte wrote:
I see bug #21550, but

if(!(version = File_readQueue(file, &size)) || size != sizeof(int)) {

when File_readQueue return FALSE, it not reserved memory and not free with 
FREE(version)
and correct the order to free mem of all ?File_readQueue



El dom, 24-08-2008 a las 10:19 +0200, Martin Pala escribió:
Thanks for patch :)

The problem should be fixed in upcoming monit 5.0 already, excerpt from 5.0_beta1 changelog:

--8<--
* Fixed #21550: Fix crash when monit event queue contained an
   empty file. Thanks to Douglas J Hunley for report.
--8<--



Thanks again for your work, we appreciate your input very much :)

Martin


P.S. the cvs version contains many changes and fixes ... i recommend the cvs version for development:
http://savannah.nongnu.org/cvs/?group=monit



On Aug 24, 2008, at 9:41 AM, Francisco Javier Félix Belmonte wrote:

> I found a bug when in /var/monit event file is empty or corrupt
>
> Attatch the fix
>
> Bye
>
> <basedir.diff>_______________________________________________
> monit-dev mailing list
> address@hidden <mailto:address@hidden>
> http://lists.nongnu.org/mailman/listinfo/monit-dev



_______________________________________________
monit-dev mailing list
address@hidden <mailto:address@hidden>
http://lists.nongnu.org/mailman/listinfo/monit-dev

!DSPAM:48b119d4277784100413569!



------------------------------------------------------------------------

_______________________________________________
monit-dev mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/monit-dev




reply via email to

[Prev in Thread] Current Thread [Next in Thread]