[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    I keep seing this...
From:       Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn () axis ! com>
Date:       2017-10-27 15:33:41
Message-ID: alpine.DEB.2.20.1710271730480.28985 () enwn ! fr ! nkvf ! pbz
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic