Am 10.02.2012 17:22, schrieb Paul J Stevens:
> On 02/10/2012 04:39 PM, Reindl Harald wrote:
> 
>> but this is not the problem, hostname is truncated and the special chars are
>> something added while truncate, the following line of a cat in terminal shows
>> the truncate without special char
> 
> Heh, a stack-overflow.
> fixed it.

overflow fixed but still truncate :-)

however, does not bother me really but good to scream to find the overflow

the damaged HTML-messages from my last mail while forwarding and replies are
my current childs we must get fixed somehow :-(

if (! configured) {
- memset(hostname,'\0',16);
- gethostname(hostname,16);
+ memset(hostname,'\0',sizeof(hostname));
+ gethostname(hostname,15);
configured=1;
}

Feb 10 17:59:02 testserver.rhso dbmail-timsieved[27089]: [0xeaf280] 
Info:[server] server_set_sighandler(+571):
signal handler placed
Feb 10 17:59:02 testserver.rhso dbmail-timsieved[27089]: [0xeaf280] 
Debug:[server] dm_bind_and_listen(+323):
creating plain socket [12] on [0.0.0.0:2000]
Feb 10 17:59:02 testserver.rhso dbmail-timsieved[27089]: [0xeaf280] 
Debug:[server] server_run(+676): Adding event
for plain socket [12] [1/1]
Feb 10 17:59:02 testserver.rhso dbmail-timsieved[27089]: [0xeaf280] 
Debug:[server] server_run(+698): dispatching
event loop...

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
DBmail mailing list
DBmail@dbmail.org
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail

Reply via email to