commit | 93c1facea997efa6a3bddd57adc18ab7e33f1fe7 | [log] [tgz] |
---|---|---|
author | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Tue Mar 17 16:25:17 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Tue Mar 17 16:25:17 2020 +0000 |
tree | 7a850841a9c4e8fee9ef0cc250d7ddb7fb7dd915 | |
parent | 37186c15847134f1dc36bfa076b72471ddde33f9 [diff] | |
parent | bc945f07855c7e36eb610d6231fd76dd920291b8 [diff] |
db845c: qcom: tqftpserv: Null terminate firmware_value string am: bc945f0785 Change-Id: I7c496d6ba58d70aecea7db0015a6e179e60a0136
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))