[xmlsec] Crash on Ubuntu
Aleksey Sanin
aleksey at aleksey.com
Thu Oct 29 10:05:42 PDT 2009
Do you have a stack trace?
Aleksey
Hetal Arora wrote:
> Hi,
>
> I am using xmlSec to verify an xml file containing digital signature.
> The piece of code is working fine with Linux x86, 32 bits but on ubuntu
> linux x86, 64-bits,
> it is crashing.
>
> The piece of code is :
>
>
> dsigCtx = xmlSecDSigCtxCreate(xmlsec_key_mgr);
> if(dsigCtx == NULL) {
> return -1;
> }
>
> if(!chk_vldty_time)
> dsigCtx->keyInfoReadCtx.flags |=
> XMLSEC_KEYINFO_FLAGS_X509DATA_SKIP_STRICT_CHECKS;
>
> if(xmlSecDSigCtxVerify(dsigCtx, start) < 0) {
> return -1;
> }
>
> key = dsigCtx->signKey ;
> if ( key == NULL ) {
> return -1 ;
> }
>
> xmlSecKeyDataPtr tmp =
> (xmlSecKeyDataPtr)xmlSecPtrListGetItem(key->dataList , 0 ) ;
> if (tmp == NULL ){
> return -1;
> }
>
> On Ubuntu xmlSecPtrListGetItem is crashing.
>
> C an please anyone help me with this issue. Is there some issues with
> xmlSec on Ubuntu.
>
> Thanks,
> hetal
>
>
>
> Dear *xmlsec!* Get Yourself a cool, short *@in.com* Email ID now!
> <http://mail.in.com/mails/new_reg.php?utm_source=invite&utm_medium=outgoing>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> xmlsec mailing list
> xmlsec at aleksey.com
> http://www.aleksey.com/mailman/listinfo/xmlsec
More information about the xmlsec
mailing list