- otherwise it can crash when code tries to write in it, if pointing to static empty string - reported by Juha Heinanen (cherry picked from commit 1e37b31f8a28ccc6f44eaf75e5f02e836df20411)
@@ -50,7 +50,7 @@
#include "pv_trans.h"
-static char _empty_str[] = "";
+static char _empty_str[2] = {0};
static str _tr_empty = { _empty_str, 0 };
static str _tr_uri = {0, 0};
static struct sip_uri _tr_parsed_uri;