2010/5/28 Mikko H?nnik?inen <mikko.hannikainen at hoppermit.com>: > Hi All, > there seems to be a bug related on (malformed) Contact header handling with pjsua: > > Contact: * > > in incoming invite causes a crash in pjsua_acc_create_uas_contact (line 2236 - actually in pj_sip_uri_get_uri) > since pjsip_contact_hdr has null uri. > Didn't check the uri rfc's in detail but maybe the parser should invalidate the form already? > The parser will let the header through since syntactically it's correct. AFAIK, this format is only used to un-REGISTER all bindings for the AOR, hence any other usages outside this are invalid. But unfortunately most components in pjsip don't check for this either.. I just fixed this in http://trac.pjsip.org/repos/ticket/1092 Thanks! Best regards, Benny > ?Best regards, > ? Mikko > > P.S. Yep, don't ask.. the circumstances where this was noticed were rather odd.... ?:) > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >