diff options
author | Ian Rogers <irogers@google.com> | 2023-10-09 21:39:07 +0300 |
---|---|---|
committer | Namhyung Kim <namhyung@kernel.org> | 2023-10-12 20:01:56 +0300 |
commit | 319d459898ce507dba58c28c17610314d16b7beb (patch) | |
tree | 131c9f1b1b8f97f8333cc04464e2f50f8712047d /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | da0c884b0756fc97a1c15f4cdb81e0a8490a6d7e (diff) | |
download | linux-319d459898ce507dba58c28c17610314d16b7beb.tar.xz |
perf buildid-cache: Fix use of uninitialized value
The buildid filename is first determined and then from this the
buildid read. If getting the filename fails then the buildid will be
used for a later memcmp uninitialized. Detected by clang-tidy.
Signed-off-by: Ian Rogers <irogers@google.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Ravi Bangoria <ravi.bangoria@amd.com>
Cc: Nick Desaulniers <ndesaulniers@google.com>
Cc: Yang Jihong <yangjihong1@huawei.com>
Cc: Huacai Chen <chenhuacai@kernel.org>
Cc: Nathan Chancellor <nathan@kernel.org>
Cc: Kan Liang <kan.liang@linux.intel.com>
Cc: llvm@lists.linux.dev
Cc: Ming Wang <wangming01@loongson.cn>
Cc: Tom Rix <trix@redhat.com>
Cc: bpf@vger.kernel.org
Link: https://lore.kernel.org/r/20231009183920.200859-7-irogers@google.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions