db845c: qcom: tqftpserv: Null terminate firmware_value string am: bc945f0785 am: 93c1facea9 am: 00f687f26b

Change-Id: Ibce0cf7acf9743a72db0a332c9095e184df66e25
diff --git a/qcom/tqftpserv/translate.c b/qcom/tqftpserv/translate.c
index 15df6d8..63161a0 100644
--- a/qcom/tqftpserv/translate.c
+++ b/qcom/tqftpserv/translate.c
@@ -109,6 +109,7 @@
 		if (n < 0) {
 			continue;
 		}
+		firmware_value[n] = '\0';
 
 		if (strlen(FIRMWARE_BASE) + strlen(firmware_value) + 1 +
 		    strlen(file) + 1 > sizeof(path))