monit-dev
[Top][All Lists]
Advanced

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

Re: monit ./configure.ac ./monitor.c ./socket.c ./s...


From: Jan-Henrik Haukeland
Subject: Re: monit ./configure.ac ./monitor.c ./socket.c ./s...
Date: Thu, 04 Sep 2003 18:15:55 +0200
User-agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.4 (Common Lisp, linux)

Christian Hopp <address@hidden> writes:

> http://savannah.gnu.org/cgi-bin/viewcvs/monit/monit/util.c.diff?tr1=1.83&tr2=1.84&r1=text&r2=text

Please do not introduce new bugs. Here's a pop-quiz, what do you think
happens when you do this :->

    free(*src);
    free(buf);
    *src= xstrdup(buf);

Answer:

(gdb) p *mail
$1 = {to = 0x8083e70 "address@hidden", 
  from = 0x8083f48 "¨ß\022B¨ß\022B2mdi.cm.chello.no", 
  subject = 0x8083ff0 "¨ß\022B¨ß\022Bert --  Connection test failed 
rhn.redhat.com", message = 0x8083f68 "¨ß\022BÙ", opt_message = 0x8084030 "", 
events = 0, 
  next = 0x0}


Ps. The bugfix is checked in.

-- 
Jan-Henrik Haukeland




reply via email to

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