]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Buffer size too small when reading sysinfo
authorBoris Fiuczynski <fiuczy@linux.vnet.ibm.com>
Wed, 17 Dec 2014 15:47:11 +0000 (16:47 +0100)
committerEric Blake <eblake@redhat.com>
Thu, 18 Dec 2014 00:00:58 +0000 (17:00 -0700)
commit531aef2e1b2c5ca97bc2936c108a6fa20b60de93
tree9dcb3a7e0047ad0c9df82d4d677d25857ce5bf46
parentaf5c3a101528549ef5237389a145a406cfa9a2c2
Buffer size too small when reading sysinfo

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@linux.vnet.ibm.com>
src/util/virsysinfo.c