> > > > Any word on the sub_alloc() question I posted on Friday? > > > > It looks like you have not allocated enough memory for gssapi > response.. > >
You are correct and I'm answering my own question once again :) > > I'm still having an issue with sub_alloc called from msg_header_format() > but the problem only occurs when I use the ipt base64_e function. If I > use my own base64 function based on the one in libpurple util.c, then > everything works and my authentication works as expected. > > If I enable Guard Malloc I get a bad access in base64_e when trying to > encode the authentication response. > > Any ideas? > I wasn't allocating the memory properly and Guard Malloc showed me. Once I calloc(1, 256) for the gssapi response everything started working with the ipt base64_e(). I'll get this going eventually :) Thanks, Andy. Confidentiality Notice: This e-mail message including attachments, if any, is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. If you are the intended recipient, but do not wish to receive communications through this medium, please so advise the sender immediately. ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel