2010/2/1 Jim Meyering <[email protected]>:
> This change is nearly identical to one I made last week.
> I inspected all remaining sysconf uses, and they seem to be ok.
>
> >From 77add8762c5d00db11bb588b7ea0c9e00975c183 Mon Sep 17 00:00:00 2001
> From: Jim Meyering <[email protected]>
> Date: Mon, 1 Feb 2010 21:45:06 +0100
> Subject: [PATCH] util.c (two more): don't use a negative value as allocation 
> size
>
> * src/util/util.c (virGetUserID, virGetGroupID): In the unlikely event
> that sysconf(_SC_GETPW_R_SIZE_MAX) fails, don't use -1 as the size in
> the subsequent allocation.
> ---

ACK

Matthias

--
libvir-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to