[libvirt] [PATCH 4/7] util: make string functions abort on OOM

Ján Tomko jtomko at redhat.com
Mon Sep 2 13:52:54 UTC 2019


On Thu, Aug 29, 2019 at 07:02:47PM +0100, Daniel P. Berrangé wrote:
>The functions are left returning an "int" to avoid an immediate
>big-bang cleanup. They'll simply never return anything other
>than 0.
>
>Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>
>---
> src/util/virstring.c | 93 +++++++++++---------------------------------
> src/util/virstring.h | 79 +++++++++++++------------------------
> 2 files changed, 49 insertions(+), 123 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190902/9c1532d5/attachment-0001.sig>


More information about the libvir-list mailing list