Cope with empty /proc/cpuinfo file

When running inside e.g. lxc containers, /proc/cpuinfo may be empty, in
which case pfmlib_getl() never allocates a buffer, and the trailing b[i] =
'\0' thus becomes bogus.

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
1 file changed