- the function xcaps_get_db_etag() may not found a record to db and will not initialize it, resulting in bogus value passed to check_preconditions() - reported by Juha Heinanen, FS#283
@@ -506,8 +506,8 @@ static int w_xcaps_put(sip_msg_t* msg, char* puri, char* ppath,
str uri;
str path;
str body = {0, 0};
- str etag;
- str etag_hdr;
+ str etag = {0, 0};
+ str etag_hdr = {0, 0};
str tbuf;
str nbuf = {0, 0};
str allow = {0, 0};
@@ -1069,7 +1069,7 @@ static int w_xcaps_get(sip_msg_t* msg, char* puri, char* ppath)
struct sip_uri turi;
str body;
int ret = 0;
xcap_uri_t xuri;