[libvirt] [PATCH v2] Buffer size too small when reading sysinfo

Eric Blake eblake at redhat.com
Thu Dec 18 00:01:23 UTC 2014


On 12/17/2014 08:47 AM, Boris Fiuczynski wrote:
> On a system with 160 CPUs the /proc/cpuinfo size grows beyond
> the currently set limit of 10KB causing an internal error.
> 
> This patch increases the buffer size to 1MB.
> 
> Signed-off-by: Boris Fiuczynski <fiuczy at linux.vnet.ibm.com>
> ---
>  src/util/virsysinfo.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

ACK and pushed.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 539 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20141217/3ac61aa3/attachment-0001.sig>


More information about the libvir-list mailing list