htop/linux
Benny Baumann 81543253cf Fix misaligned access inside taskstats structure
Reported by UB sanitizer (alongside several other messages):
linux/LinuxProcessList.c:782:25: runtime error: member access within misaligned address 0x614000000264 for type 'struct taskstats', which requires 8 byte alignment
0x614000000264: note: pointer points here
  64 01 03 00 0a 00 00 00  00 00 00 00 02 00 00 00  00 00 00 00 4b c8 2e 00  00 00 00 00 3e 45 3c fd
              ^

The issue doesn't cause trouble on x86, but any architecture with stricter memory alignment requirements may inadvertedly break.
2020-10-18 17:20:34 +02:00
..
Battery.c Rename StringUtils.[ch] to XUtils.[ch] 2020-10-16 20:30:21 +02:00
Battery.h Update License consistently to GPLv2 as per COPYING file 2020-10-05 10:13:12 +02:00
IOPriority.h Update License consistently to GPLv2 as per COPYING file 2020-10-05 10:13:12 +02:00
IOPriorityPanel.c Rename StringUtils.[ch] to XUtils.[ch] 2020-10-16 20:30:21 +02:00
IOPriorityPanel.h Update License consistently to GPLv2 as per COPYING file 2020-10-05 10:13:12 +02:00
LinuxProcess.c Rename StringUtils.[ch] to XUtils.[ch] 2020-10-16 20:30:21 +02:00
LinuxProcess.h Do not use extra starttime process field on Linux 2020-10-16 19:23:40 +02:00
LinuxProcessList.c Fix misaligned access inside taskstats structure 2020-10-18 17:20:34 +02:00
LinuxProcessList.h Update License consistently to GPLv2 as per COPYING file 2020-10-05 10:13:12 +02:00
Platform.c Rename StringUtils.[ch] to XUtils.[ch] 2020-10-16 20:30:21 +02:00
Platform.h Add NetworkIOMeter 2020-10-16 20:00:14 +02:00
PressureStallMeter.c Rename StringUtils.[ch] to XUtils.[ch] 2020-10-16 20:30:21 +02:00
PressureStallMeter.h Mark remaining classes const 2020-10-13 14:56:01 +02:00
SELinuxMeter.c Add SELinuxMeter 2020-10-16 19:20:07 +02:00
SELinuxMeter.h Add SELinuxMeter 2020-10-16 19:20:07 +02:00