tools/libxc: report malloc errors in writev_exact
authorOlaf Hering <olaf@aepfle.de>
Wed, 23 Sep 2020 06:48:40 +0000 (08:48 +0200)
committerIan Jackson <iwj@xenproject.org>
Mon, 9 Nov 2020 17:45:32 +0000 (17:45 +0000)
commit89ae1b185a193fea8e86840c48a2711f04042415
treeabe27fde99a1d3504b7d6807368ce42ef79e2f3c
parent7398a44e8636c99f6b06fb16d05a64ee06980d10
tools/libxc: report malloc errors in writev_exact

The caller of writev_exact should be notified about malloc errors
when dealing with partial writes.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Wei Liu <wl@xen.org>
(cherry picked from commit 0d8d289af7a679c028462c4ed5d98586f9ef9648)
tools/libxc/xc_private.c