Module: kamailio
Branch: master
Commit: a704f7d68dddfaa9719acb7b04f4058a1cdf5673
URL:
https://github.com/kamailio/kamailio/commit/a704f7d68dddfaa9719acb7b04f4058…
Author: Yasin CANER <caner_yaso(a)hotmail.com>
Committer: Yasin CANER <caner_yaso(a)hotmail.com>
Date: 2019-01-30T07:59:32+03:00
ims_isc : fixed wrong type for memcpy
fixed wrong type for memcpy
---
Modified: src/modules/ims_isc/third_party_reg.c
---
Diff:
https://github.com/kamailio/kamailio/commit/a704f7d68dddfaa9719acb7b04f4058…
Patch:
https://github.com/kamailio/kamailio/commit/a704f7d68dddfaa9719acb7b04f4058…
---
diff --git a/src/modules/ims_isc/third_party_reg.c
b/src/modules/ims_isc/third_party_reg.c
index f5c780feed..b07773efa8 100644
--- a/src/modules/ims_isc/third_party_reg.c
+++ b/src/modules/ims_isc/third_party_reg.c
@@ -173,7 +173,7 @@ int build_p_associated_uri(ims_subscription* s) {
if (cnt == 0 && cnttel == 0){
*p++ = '<';
} else if(cnttel != 0 && cnt == 0){
- memcpy(p, ", <", 2);
+ memcpy(p, ", <", 3);
p += 3;
} else {
memcpy(p, ">, <", 4);