[libvirt] [PATCH] util.c (virGetUserEnt): don't use a negative value as allocation size
Jim Meyering
jim at meyering.net
Fri Jan 29 20:44:29 UTC 2010
Matthias Bolte wrote:
>> Subject: [PATCH] util.c (virGetUserEnt): don't use a negative value as allocation size
>>
>> * src/util/util.c (virGetUserEnt): In the unlikely event that
>> sysconf(_SC_GETPW_R_SIZE_MAX) fails, don't use -1 as the size in
>> the subsequent allocation.
...
> ACK.
Thanks. Pushed.
More information about the libvir-list
mailing list