Module: kamailio
Branch: master
Commit: 2c7c2d215ec9277fa706053579a38f058f15ae85
URL:
https://github.com/kamailio/kamailio/commit/2c7c2d215ec9277fa706053579a38f0…
Author: Xenofon Karamanos <22965395+xkaraman(a)users.noreply.github.com>
Committer: Henning Westerholt <hw(a)gilawa.com>
Date: 2024-06-08T08:52:02+02:00
pua_dialoginfo: Fix ruri length
---
Modified: src/modules/pua_dialoginfo/pua_dialoginfo.c
---
Diff:
https://github.com/kamailio/kamailio/commit/2c7c2d215ec9277fa706053579a38f0…
Patch:
https://github.com/kamailio/kamailio/commit/2c7c2d215ec9277fa706053579a38f0…
---
diff --git a/src/modules/pua_dialoginfo/pua_dialoginfo.c
b/src/modules/pua_dialoginfo/pua_dialoginfo.c
index 22a2fb11da7..c8a8a6f31a3 100644
--- a/src/modules/pua_dialoginfo/pua_dialoginfo.c
+++ b/src/modules/pua_dialoginfo/pua_dialoginfo.c
@@ -838,6 +838,7 @@ struct dlginfo_cell *get_dialog_data(struct dlg_cell *dlg, int type,
}
memset(dlginfo->pubruris_caller, 0, sizeof(struct str_list));
dlginfo->pubruris_caller->s.s = shm_str2char_dup(&dlginfo->from_uri);
+ dlginfo->pubruris_caller->s.len = dlginfo->from_uri.len;
if(!dlginfo->pubruris_caller->s.s) {
free_dlginfo_cell(dlginfo);
return NULL;