[OpenSIPS-Devel] [opensips] strip_body() causes crash when used on specific INVITE (#734)

Ionut Ionita notifications at github.com
Wed Dec 23 11:51:21 CET 2015


fixed your issue both in 1.10 https://github.com/OpenSIPS/opensips/commit/4f95a61dcd22f3e06611b8966dd6e9beb4e949aa and 1.11 https://github.com/OpenSIPS/opensips/commit/245b549330e80bf9e51ca64144476e716a8ad9a3 but, as the RFC 3261 states `The Content-Type header field MUST be present if
   the body is not empty.` so your example is an invalid SIP message. In that case I throwed a warning, but the body will still be stripped.

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/734#issuecomment-166861797
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20151223/46f8afe0/attachment.htm>


More information about the Devel mailing list