diff options
author | 2018-10-02 10:29:10 -0400 | |
---|---|---|
committer | 2018-10-08 14:23:44 -0300 | |
commit | ce49d8436cffa9b7a6a5f110879d53e89dbc6746 (patch) | |
tree | fe7baef3fda23d62917335853219e7b5dfef9056 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | perf test: S390 does not support watchpoints in test 22 (diff) | |
download | linux-dev-ce49d8436cffa9b7a6a5f110879d53e89dbc6746.tar.xz linux-dev-ce49d8436cffa9b7a6a5f110879d53e89dbc6746.zip |
perf strbuf: Match va_{add,copy} with va_end
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions