lineage_android_kernel_xiao.../tools
Sanskriti Sharma af414f3468 perf strbuf: Match va_{add,copy} with va_end
[ Upstream commit ce49d8436cffa9b7a6a5f110879d53e89dbc6746 ]

Ensure that all code paths in strbuf_addv() call va_end() on the
ap_saved copy that was made.

Fixes the following coverity complaint:

  Error: VARARGS (CWE-237): [#def683]
  tools/perf/util/strbuf.c:106: missing_va_end: va_end was not called
  for "ap_saved".

Signed-off-by: Sanskriti Sharma <sansharm@redhat.com>
Reviewed-by: Jiri Olsa <jolsa@kernel.org>
Cc: Joe Lawrence <joe.lawrence@redhat.com>
Link: http://lkml.kernel.org/r/1538490554-8161-2-git-send-email-sansharm@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-11-13 11:16:49 -08:00
..
accounting tools: move accounting tool from Documentation 2016-09-23 13:07:15 -06:00
arch x86/fpu: Finish excising 'eagerfpu' 2018-10-13 09:18:59 +02:00
build tools: build: Use HOSTLDFLAGS with fixdep 2018-08-24 13:12:39 +02:00
cgroup
firewire
gpio tools/gpio: Fix build error with musl libc 2018-02-03 17:05:34 +01:00
hv Tools: hv: Fix a bug in the key delete code 2018-09-26 08:36:35 +02:00
iio Second set of iio new device support, features and cleanups for the 4.9 cycle. 2016-09-14 20:42:03 +02:00
include perf/tools: header file sync up 2018-06-05 10:28:58 +02:00
kvm/kvm_stat
laptop tools: move laptops dslm tool from Documentation 2016-09-23 13:07:21 -06:00
lguest tools/lguest: Don't bork the terminal in case of wrong args 2016-09-08 08:05:24 +02:00
lib tools lib: Add for_each_clear_bit macro 2018-06-05 10:28:55 +02:00
net
nfsd
objtool objtool: Support GCC 8 '-fnoreorder-functions' 2018-08-24 13:12:35 +02:00
pcmcia tools: move pcmcia crc32hash tool from Documentation 2016-09-23 13:07:27 -06:00
perf perf strbuf: Match va_{add,copy} with va_end 2018-11-13 11:16:49 -08:00
power tools/power turbostat: Read extended processor family from CPUID 2018-09-05 09:20:02 +02:00
scripts Kbuild: fix # escaping in .cmd files for future Make 2018-07-11 16:26:45 +02:00
spi Merge remote-tracking branches 'spi/topic/ti-qspi', 'spi/topic/tools', 'spi/topic/txx9' and 'spi/topic/xlp' into spi-next 2016-09-30 09:14:22 -07:00
testing selftests: ftrace: Add synthetic event syntax testcase 2018-11-13 11:16:48 -08:00
thermal/tmon tools/thermal: tmon: fix for segfault 2018-05-30 07:50:43 +02:00
time
usb tools: usb: ffs-test: Fix build on big endian systems 2018-09-05 09:20:00 +02:00
virtio ptr_ring: fix up after recent ptr_ring changes 2018-11-10 07:42:50 -08:00
vm tools/vm/page-types.c: fix "defined but not used" warning 2018-10-10 08:53:20 +02:00
Makefile