Closed xstefank closed 4 months ago
from nmcli I see that the name of the interface is "wlp9s0" but changing config to:
wireless wlp9s0 {
format_up = "W: (%quality at %essid, %bitrate) %ip"
format_down = "W: down"
}
doesn't help.
Looks like one of the placeholders is exceeding the length allocated per placeholder content (which is 30 characters, minus 1 for the NUL terminator byte).
The most likely candidates for this would be %essid
(network name longer than 29 characters) and %ip
(a fully expanded IPv6 address can be up to 39 characters; 45 if you include IPv4-mapped addresses).
You can try removing placeholders one at a time to narrow down the source of the problem and avoid it for the time being.
Ultimately, the maintainers will probably need to increase the string length limit, but I'm not sure if that has any unforeseen implications.
Seem like I was running the distro version when I thought I was running git head build https://github.com/i3/i3status/commit/8a918438ed5b1800cda21d53ddaf130e7936cc9b , head build working fine as is without modification
This happened to me also, and the network essid is "City of Eugene-Free Public WiFi" with 31 characters. Seems to me like the buffer overflow is serious enough to warrant a fix, no?
i3status: trying to auto-detect output_format setting
i3status: auto-detected "term"
*** buffer overflow detected ***: terminated
Aborted (core dumped)
I am experiencing the same issue with a wifi network whose essid is "Cabinn Scandinavia Public Wifi" (30 characters), with i3status 2.14-2 under Arch (version from 9 July 2024), using the default configuration. (A quick experiment shows that removing the last "i" from the essid is enough to solve the issue.)
I have used the above wifi network before, in April this year, without any issues; hence I fear that the commit that was supposed to fix the issue somehow made the situation worse.
No, i3status 2.14 just doesn’t contain the commit yet. We should probably tag a new release soon.
FYI, i3status 2.15 was just released which contains the fix.
I can confirm this now works! Thanks!
I switched to a new laptop and print_wireless_info stopped working:
journalctl
relevant config:
Not sure what I'm missing. Can someone help please?