https://bugs.kde.org/show_bug.cgi?id=493093

Arjen Hiemstra <ahiems...@heimr.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/ksystemstats/-/commit/47 |ma/ksystemstats/-/commit/c5
                   |8e766d19b333a7cc2316ed11e00 |bc0067b31f6c2bdee127702c6cc
                   |2928673ba2c                 |4717c770808

--- Comment #9 from Arjen Hiemstra <ahiems...@heimr.nl> ---
Git commit c5bc0067b31f6c2bdee127702c6cc4717c770808 by Arjen Hiemstra.
Committed on 30/09/2024 at 09:18.
Pushed by ahiemstra into branch 'master'.

plugins/cpu: Ignore invalid CPU info when reading /proc/cpuinfo

On some systems, /proc/cpuinfo contains non-core related data. When that
happens, we would end up creating an invalid CpuInfo object that would
later on crash ksystemstats. Instead, ignore said CpuInfo object
properly so we don't crash.

Patch based on Jonathan L Hanmann's suggestion from the bug report.

M  +10   -3    plugins/cpu/linuxcpuplugin.cpp

https://invent.kde.org/plasma/ksystemstats/-/commit/c5bc0067b31f6c2bdee127702c6cc4717c770808

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to