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.

TEST=make; run test

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>
1 file changed