Re: cf3 svn666 cf-serverd core dump

2009-12-09 Thread Matt Richards
Ah, cool. I see your changes in SVN. I was going about it the hard way. I was writing a patch that replaced malloc on systems that don't have GNU libc type malloc (aka malloc(0) returns a real pointer). I have seen this done in some GNU tools (like patch). I'll compile up the svn 675 and let ya

Re: cf3 svn666 cf-serverd core dump

2009-12-09 Thread Mark Burgess
Matt, could you try svn and see if this helps please. Matt Richards wrote: > I am a little closer now. I added some debugging information in > client_protocol.c (~line 338): > > Debug("Receive counter challenge from server\n"); > > /* proposition S3 */ > memset(in,0,CF_BUFSIZE); > encrypted_le

cf3 svn666 cf-serverd core dump

2009-12-09 Thread Matt Richards
I am a little closer now. I added some debugging information in client_protocol.c (~line 338): Debug("Receive counter challenge from server\n"); /* proposition S3 */ memset(in,0,CF_BUFSIZE); encrypted_len = ReceiveTransaction(conn->sd,in,NULL); if (encrypted_len < 0) { CfOut(cf_error,"","