slstatus/components
Repository files (latest commit first)
Filename Latest commit message Latest commit date
drkhsh 98769dfed7 fix buffer overflow in battery state parsing
"Not charging" is 12 characters; %12[a-zA-Z ] reads up to 12 chars
plus a NUL terminator (13 bytes) into a 12-byte buffer. Increase
state buffer to 13 in both battery_state and battery_remaining.
2026-02-12 22:52:21 +01:00
..
battery.c fix buffer overflow in battery state parsing 2026-02-12 22:52:21 +01:00
cat.c New component: cat 2022-11-24 00:01:52 +01:00
cpu.c radical re-formatting 3/3: Error checks 2022-10-28 01:03:46 +02:00
datetime.c radical re-formatting 0/3: Alphabetic headers 2022-10-28 01:03:20 +02:00
disk.c disk: Cast fsblkcnt_t to double instead of float 2022-12-19 02:44:21 +01:00
entropy.c entropy: Use Unicode escape sequence in string 2022-12-19 02:44:21 +01:00
hostname.c radical re-formatting 0/3: Alphabetic headers 2022-10-28 01:03:20 +02:00
ip.c add 'up' for whether a interface is up or down 2025-04-30 03:09:55 +02:00
kernel_release.c radical re-formatting 0/3: Alphabetic headers 2022-10-28 01:03:20 +02:00
keyboard_indicators.c radical re-formatting 2/3: Fix blocks 2022-10-28 01:03:38 +02:00
keymap.c Add underscore to separators in strtok() call in keymap.c 2025-04-30 03:08:02 +02:00
load_avg.c radical re-formatting 0/3: Alphabetic headers 2022-10-28 01:03:20 +02:00
netspeeds.c radical re-formatting 3/3: Error checks 2022-10-28 01:03:46 +02:00
num_files.c num_files: opendir() returns a directory stream 2022-12-19 02:44:21 +01:00
ram.c more concise memory calculation on Linux 2025-07-24 22:41:25 +02:00
run_command.c radical re-formatting 2/3: Fix blocks 2022-10-28 01:03:38 +02:00
swap.c radical re-formatting 3/3: Error checks 2022-10-28 01:03:46 +02:00
temperature.c radical re-formatting 2/3: Fix blocks 2022-10-28 01:03:38 +02:00
uptime.c uptime: Use sizeof instead of repeating the size 2022-12-19 02:44:21 +01:00
user.c radical re-formatting 0/3: Alphabetic headers 2022-10-28 01:03:20 +02:00
volume.c volume: avoid NULL dereference in onval() on sndio device switch 2026-02-12 22:45:28 +01:00
wifi.c wifi: always retry ioctl for ifindex 2026-02-12 22:46:02 +01:00