Control: forwarded -1 
https://sourceforge.net/p/perfmon2/libpfm4/merge-requests/23/

Samuel Thibault, le lun. 07 août 2023 21:29:03 +0200, a ecrit:
> It seems that it is crashing because /proc/cpuinfo is empty, and thus
> pfmlib_getl never allocates a buffer, and the trailing b[i] = '\0' thus
> becomes bogus. The attached patch fixes this in my tests.

I have forwarded it to upstream:

https://sourceforge.net/p/perfmon2/libpfm4/merge-requests/23/

Samuel

Reply via email to