Module: kamailio
Branch: master
Commit: c7f89e81504c425a83f3423bc4b4d9d1a8a48909
URL:
https://github.com/kamailio/kamailio/commit/c7f89e81504c425a83f3423bc4b4d9d…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-10-17T08:21:43+02:00
core: parser sdp - check if body is enough for rtpmap
---
Modified: src/core/parser/sdp/sdp_helpr_funcs.c
---
Diff:
https://github.com/kamailio/kamailio/commit/c7f89e81504c425a83f3423bc4b4d9d…
Patch:
https://github.com/kamailio/kamailio/commit/c7f89e81504c425a83f3423bc4b4d9d…
---
diff --git a/src/core/parser/sdp/sdp_helpr_funcs.c
b/src/core/parser/sdp/sdp_helpr_funcs.c
index 079a9992402..a74f78abb84 100644
--- a/src/core/parser/sdp/sdp_helpr_funcs.c
+++ b/src/core/parser/sdp/sdp_helpr_funcs.c
@@ -152,7 +152,8 @@ int extract_rtpmap(str *body, str *rtpmap_payload, str
*rtpmap_encoding,
int len;
if(strncasecmp(body->s, "a=rtpmap:", 9) != 0) {
- /*LM_DBG("We are not pointing to an a=rtpmap: attribute =>`%.*s'\n",
body->len, body->s); */
+ /*LM_DBG("We are not pointing to an a=rtpmap: attribute =>`%.*s'\n",
+ * body->len, body->s); */
return -1;
}