yes, have checked "ERROR" generation.
This happens because `part_multipart_headers_cmp()` try search content by
"Content-Id".
The first content element (SDP in the example) does not have "Content-Id".
Function reaches the end of the content element and generates the error.
Then `part_multipart_headers_cmp()` try search "Content-Id" in second element
and fount it and then returns result.
Looks as current `part_multipart_headers_cmp()` implementation handles case when content
element do not has "Content-Id" header as error.
Looks as provided fix correct for this case.
Ok, thanks for testing. @miconda How shall I proceed? Merge the PR with or without the
patch (commit 106b8a659bd4a53e8a6872e9db8a9af0f12ff70a)?
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/2675#issuecomment-816623509