Since a while back, with:

$ gcc --version
gcc (Debian 7.2.0-12) 7.2.1 20171025

procps/powertop.c: In function 'read_cstate_counts':
procps/powertop.c:181:20: warning: '%s' directive writing up to 255 bytes into 
a region of size 171 [-Wformat-overflow=]
   sprintf(buf, "%s/%s/power", "/proc/acpi/processor", d->d_name);
                    ^~
procps/powertop.c:181:3: note: 'sprintf' output between 28 and 283 bytes into a 
destination of size 192
   sprintf(buf, "%s/%s/power", "/proc/acpi/processor", d->d_name);


Cheers,

-- 
Cristian
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to