qcom: pd-mapper: Null terminate firmware_value string am: 4f619fba65 am: c314573a54 am: 521fe5a2c7 am: 0f00a43463

Change-Id: I70e674eb35d32a6de1d5362f764dbc1fa606dcba
diff --git a/qcom/pd-mapper/pd-mapper.c b/qcom/pd-mapper/pd-mapper.c
index f26710d..c7db57f 100644
--- a/qcom/pd-mapper/pd-mapper.c
+++ b/qcom/pd-mapper/pd-mapper.c
@@ -241,6 +241,8 @@
 			continue;
 		}
 
+		firmware_value[n] = '\0';
+
 		if (strlen(FIRMWARE_BASE) + strlen(firmware_value) + 1 > sizeof(path))
 			continue;