htop/linux
Christian Göttsche 43ffdb0eda Linux: zero CPU data after allocation
Zero all the CPU data, like totalPeriod, after its memory allocation via
realloc(3).

    Conditional jump or move depends on uninitialised value(s)
       at 0x132A9B: LinuxProcessList_scanCPUTime (LinuxProcessList.c:1928)
       by 0x1358C3: ProcessList_goThroughEntries (LinuxProcessList.c:2079)
        by 0x12A79A: ProcessList_scan (ProcessList.c:627)
        by 0x11CA67: CommandLine_run (CommandLine.c:357)
        by 0x4A81E49: (below main) (libc-start.c:314)
      Uninitialised value was created by a heap allocation
        at 0x48396C5: malloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
        by 0x12F633: xRealloc (XUtils.c:64)
        by 0x12F633: xReallocArray (XUtils.c:78)
        by 0x1325A8: LinuxProcessList_updateCPUcount (LinuxProcessList.c:207)
        by 0x134E0A: ProcessList_new (LinuxProcessList.c:284)
        by 0x11C8D0: CommandLine_run (CommandLine.c:301)
        by 0x4A81E49: (below main) (libc-start.c:314)
2021-09-11 00:04:00 +02:00
..
HugePageMeter.c IWYU update 2021-08-25 09:54:30 +02:00
HugePageMeter.h cleaned up includes with iwyu 2021-05-10 18:40:53 +02:00
IOPriority.h linux: drop unused macro IOPriority_error 2021-09-02 08:03:21 +02:00
IOPriorityPanel.c platform-dependent files included relative to main source directory 2021-05-10 18:40:53 +02:00
IOPriorityPanel.h platform-dependent files included relative to main source directory 2021-05-10 18:40:53 +02:00
LibSensors.c IWYU update 2021-08-25 09:54:30 +02:00
LibSensors.h IWYU update 2021-08-25 09:54:30 +02:00
LinuxProcess.c Add a Process_printPercentage helper routine 2021-09-05 18:47:07 +02:00
LinuxProcess.h linux: drop dead process field column DIRTY 2021-09-02 08:03:21 +02:00
LinuxProcessList.c Linux: zero CPU data after allocation 2021-09-11 00:04:00 +02:00
LinuxProcessList.h Merge branch 'dynamic-columns' of https://github.com/smalinux/htop into smalinux-dynamic-columns 2021-08-13 15:56:01 +10:00
Platform.c Linux: rework disk-io parsing 2021-09-02 22:12:58 +02:00
Platform.h Add completion handling for dynamic meters and columns 2021-09-03 09:47:01 +02:00
PressureStallMeter.c platform-dependent files included relative to main source directory 2021-05-10 18:40:53 +02:00
PressureStallMeter.h cleaned up includes with iwyu 2021-05-10 18:40:53 +02:00
ProcessField.h linux: drop dead process field column DIRTY 2021-09-02 08:03:21 +02:00
SELinuxMeter.c platform-dependent files included relative to main source directory 2021-05-10 18:40:53 +02:00
SELinuxMeter.h cleaned up includes with iwyu 2021-05-10 18:40:53 +02:00
SystemdMeter.c Use PATH lookup for systemctl in systemd meter 2021-07-15 10:21:12 +02:00
SystemdMeter.h cleaned up includes with iwyu 2021-05-10 18:40:53 +02:00
ZramMeter.c platform-dependent files included relative to main source directory 2021-05-10 18:40:53 +02:00
ZramMeter.h cleaned up includes with iwyu 2021-05-10 18:40:53 +02:00
ZramStats.h Linux: overhaul memory partition 2021-02-07 12:41:52 +01:00