this line is present in a module that i am writting, but on modules_k/pua_bla/notify.c line 205 has a similar condition...<br><br>Cheers<br><br><br><div class="gmail_quote">2011/12/7 marius zbihlei <span dir="ltr">&lt;<a href="mailto:marius.zbihlei@1and1.ro">marius.zbihlei@1and1.ro</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="HOEnZb"><div class="h5">On 12/07/2011 06:24 PM, Bruno Bresciani wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi All,<br>
<br>
Kamailio generate a core at line below<br>
<br>
if(_msg-&gt;contact!= NULL || _msg-&gt;contact-&gt;body.s!= NULL){<br>
<br>
_msg is a sip_msg struct that my module receive from kamailio. I want verify if on that request messagem have a contact header, but a core is being generated when contact header isn&#39;t present on message.<br>
<br>
Someone knows why this is happening?<br>
<br>
Cheers<br>
</blockquote></div></div>
Hello,<br>
<br>
Looks like a bug. Can you also point to  the source file where this line is present. It certainly looks like a typo. I&#39;ve tried grepping over the latest 3.2 but to no avail.<br>
<br>
Cheers,<br>
Marius<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Zbihlei Marius<br>
<br>
Head of<br>
Linux Development Services Romania<br>
<br>
1&amp;1 Internet Development srl    Tel KA: 754-9512<br>
Str Mircea Eliade 18            Tel RO: <a href="tel:%2B40-31-223-9512" value="+40312239512" target="_blank">+40-31-223-9512</a><br>
Sect 1, Bucuresti               mailto: <a href="mailto:marius.zbihlei@1and1.ro" target="_blank">marius.zbihlei@1and1.ro</a><br>
71295, Romania</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
<br>
______________________________<u></u>_________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/<u></u>cgi-bin/mailman/listinfo/sr-<u></u>users</a><br>
</div></div></blockquote></div><br>