commit | 53491084865df3620193304d896d048c1acf5882 | [log] [tgz] |
---|---|---|
author | Hung-Te Lin <hungte@chromium.org> | Thu Apr 28 09:26:32 2022 |
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue May 03 08:57:18 2022 |
tree | bad918b7741329f89b60c80d75047fa7d8521e0f | |
parent | 567d37e7a4d3fc88587b873cc0ef40d8812366d6 [diff] |
futility: updater: always add a \0 when reading files from archives To simplify parsing text files in future we want the archive_read_file to always return a NULL terminated string on success. BUG=None TEST=make; run test BRANCH=None Signed-off-by: Hung-Te Lin <hungte@chromium.org> Change-Id: I0dd0105971a80d857a1b05d9680b34b42dbff7e6 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/3612645 Reviewed-by: Julius Werner <jwerner@chromium.org> Commit-Queue: Julius Werner <jwerner@chromium.org>