Browse code

textops: fix not initialized variable for muti-part body

(cherry picked from commit f1178c4d0e12f7d7e05bd6551ec3a841f1f23055)

Daniel-Constantin Mierla authored on 15/10/2014 23:06:09
Showing 1 changed files
... ...
@@ -1546,7 +1546,7 @@ int set_multibody_helper(struct sip_msg* msg, char* p1, char* p2, char* p3)
1546 1546
 	str default_delimiter = {"unique-boundary-1", 17};
1547 1547
 	str nc = {0,0};
1548 1548
 	str cth = {"Content-Type: ", 14};
1549
-	str* nbb;
1549
+	str* nbb = NULL;
1550 1550
 	unsigned int convert = 0;
1551 1551
 	fparam_t header;
1552 1552
 	header.orig = NULL;