https://bugs.kde.org/show_bug.cgi?id=459130
Arjen Hiemstra <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit| |https://invent.kde.org/plas | |ma/ksystemstats/commit/fda8 | |0732b5953d2b554864d34149966 | |297ebe84d Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #2 from Arjen Hiemstra <[email protected]> --- Git commit fda80732b5953d2b554864d34149966297ebe84d by Arjen Hiemstra. Committed on 11/01/2023 at 11:00. Pushed by ahiemstra into branch 'master'. cpu: Account for offline processors when adding CPU objects Processors can be marked as offline. In that case, they will not be reported by /proc/cpuinfo . However, the processor ID in /proc/stat will account for the missing processor. In that case, we end up trying to perform an out of bounds read on the vector of CPU objects. To account for missing processors, store the CPU objects in a hash rather than a vector so that we can store them based on the actual processor ID. In addition, rework the naming so we report a more proper core name if cores are offline. M +4 -4 plugins/cpu/linuxcpu.cpp M +4 -3 plugins/cpu/linuxcpu.h M +44 -12 plugins/cpu/linuxcpuplugin.cpp M +2 -2 plugins/cpu/linuxcpuplugin.h https://invent.kde.org/plasma/ksystemstats/commit/fda80732b5953d2b554864d34149966297ebe84d -- You are receiving this mail because: You are watching all bug changes.
