commit | 43c8908df470b13ab7e9bea30a88efe13b1fc251 | [log] [tgz] |
---|---|---|
author | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Tue Mar 17 17:12:55 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Tue Mar 17 17:12:55 2020 +0000 |
tree | 2cb2aea1150af800bd26b0f3064d9193714f509a | |
parent | 1dfaf35c4385ff4da0c016f47c47b7b5435ef3ef [diff] | |
parent | 00f687f26b6762165139fdebe48601a51355ead5 [diff] |
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))