Skip to content

Commit

Permalink
pua_reginfo: init uri buffer
Browse files Browse the repository at this point in the history
(cherry picked from commit 692d15c)
  • Loading branch information
miconda committed May 5, 2022
1 parent 44295fa commit c16044f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/modules/pua_reginfo/notify.c
Expand Up @@ -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",
Expand Down

0 comments on commit c16044f

Please sign in to comment.