android_kernel_oneplus_msm8998/tools
Naoya Horiguchi a96b6b408c tools/power turbostat: fix buffer overrun
[ Upstream commit eeb71c950bc6eee460f2070643ce137e067b234c ]

turbostat could be terminated by general protection fault on some latest
hardwares which (for example) support 9 levels of C-states and show 18
"tADDED" lines. That bloats the total output and finally causes buffer
overrun.  So let's extend the buffer to avoid this.

Signed-off-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-09-21 07:12:52 +02:00
..
arch perf bench: Copy kernel files needed to build mem{cpy,set} x86_64 benchmarks 2019-03-23 08:44:37 +01:00
build Kbuild: fix # escaping in .cmd files for future Make 2018-07-19 15:35:57 +02:00
cgroup
firewire
hv Tools: hv: kvp: eliminate 'may be used uninitialized' warning 2019-09-10 10:29:48 +01:00
iio iio: iio-utils: Fix possible incorrect mask calculation 2019-08-04 09:34:57 +02:00
include tools include: Adopt linux/bits.h 2019-06-11 12:23:53 +02:00
laptop/freefall
lguest
lib tools lib traceevent: Fix missing equality check for strcmp 2019-05-16 19:45:06 +02:00
net
nfsd
perf Revert "perf test 6: Fix missing kvm module load for s390" 2019-09-06 10:18:13 +02:00
power tools/power turbostat: fix buffer overrun 2019-09-21 07:12:52 +02:00
scripts Kbuild: fix # escaping in .cmd files for future Make 2018-07-19 15:35:57 +02:00
testing selftests: kvm: Adding config fragments 2019-09-06 10:18:09 +02:00
thermal/tmon tools/thermal: tmon: fix for segfault 2018-05-30 07:49:10 +02:00
time
usb tools: usb: ffs-test: Fix build on big endian systems 2018-09-05 09:18:34 +02:00
virtio
vm tools/vm/page-types.c: fix "defined but not used" warning 2018-10-10 08:52:11 +02:00
Makefile