<div dir="ltr">HI All,<div><br></div><div>According to Kamailio Devel Guide it is mentioned that pasrse_msg() fucntion returns 0 if it it parses the sip message finely and >0 if error occurs. </div><div><br></div><div>I pass a anonymous packet to this function (packet which is not sip packet) then it should return >0 value but the function crashes. </div><div><br></div><div>Here is gdb back trace:</div><div><br></div><div><div>#0  0x00000033d8c81261 in strnlen () from /lib64/libc.so.6</div><div>#1  0x00000033d8c4526e in vfprintf () from /lib64/libc.so.6</div><div>#2  0x00000033d8ce4dd0 in __vsyslog_chk () from /lib64/libc.so.6</div><div>#3  0x00000033d8ce5000 in syslog () from /lib64/libc.so.6</div><div>#4  0x0000000000624830 in parse_msg (</div><div>    buf=0x7f93e0bd8d68 "\373kÇ?V\020r\300m\221\217/\r\n\362\315\354\027\227k\366\200\251\252\367\036\336mã³¹\036\237\361\200\071\200Z\352\315\026\312\060\260`P\277\020\243ɬf;\273EV\"P\262", <incomplete sequence \366>, len=723, msg=0x7fff7af2c190) at parser/msg_parser.c:704</div></div><div><br></div><div><br></div><div><br></div><div><br></div><div>Thanks and Regards</div><div>Varun</div></div>