2009/3/30 Daniel-Constantin Mierla
<miconda(a)gmail.com>om>:
Hello,
the data lumps system is critically affected if content-length is wrong
for UDP. The anchor_lump() calls abort() in the case content-length is
higher than actually body length. This can be prevented by called sanity
module to check the content length, however, I consider being too
drastic to have abort in such case, it would be better to return an
error and let the sip router process other messages. Opinions?
Is this error the cause of so many segmentfaults in a reported bug?:
https://sourceforge.net/tracker/?func=detail&aid=2649470&group_id=1…
I've tested it by sending spoofed SIP messages via UDP with wrong
Content-Lenght and it's forwarded properly by Kamailio trunk (before
the today commits), without warnings or errors.
How to reproduce the problem?
was content length higher than body length?
Cheers,
Daniel
--
Daniel-Constantin Mierla
SIP Router Masterclass - Kamailio (OpenSER) Training