Module: kamailio
Branch: master
Commit: 692d15ce9bcc329fff55060dcdc8e5161f12c30e
URL:
https://github.com/kamailio/kamailio/commit/692d15ce9bcc329fff55060dcdc8e51…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2022-03-15T10:00:41+01:00
pua_reginfo: init uri buffer
---
Modified: src/modules/pua_reginfo/notify.c
---
Diff:
https://github.com/kamailio/kamailio/commit/692d15ce9bcc329fff55060dcdc8e51…
Patch:
https://github.com/kamailio/kamailio/commit/692d15ce9bcc329fff55060dcdc8e51…
---
diff --git a/src/modules/pua_reginfo/notify.c b/src/modules/pua_reginfo/notify.c
index ee533a6a63..07fceba899 100644
--- a/src/modules/pua_reginfo/notify.c
+++ b/src/modules/pua_reginfo/notify.c
@@ -239,6 +239,7 @@ int process_body(str notify_body, udomain_t * domain) {
/* Temporary */
int mem_only = 1;
+ uri[0] = '\0';
doc = xmlParseMemory(notify_body.s, notify_body.len);
if(doc== NULL) {
LM_ERR("Error while parsing the xml body message, Body is:\n%.*s\n",