tools/libxenhypfs: fix reading of gzipped string
authorJuergen Gross <jgross@suse.com>
Mon, 18 Jan 2021 12:06:28 +0000 (13:06 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 18 Jan 2021 13:52:40 +0000 (13:52 +0000)
commit971275352691869b227f11b92d21303c567ddfb3
treeb2d19c7f2c2e8e87241cd1bccc77f13e1687c716
parentb066d57183548ae199acdf6a0022e012e324a7b2
tools/libxenhypfs: fix reading of gzipped string

Reading a gzipped string value from hypfs doesn't add a 0 byte at the
end. Fix that.

Fixes: 86234eafb95295 ("libs: add libxenhypfs")
Signed-off-by: Juergen Gross <jgross@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
tools/libs/hypfs/core.c