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

Change-Id: Ie6feb41981e8043dd7233a517afa0fbf9672bf45
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))