diff options
| author | 2026-08-09 00:14:48 -0700 | |
|---|---|---|
| committer | 2026-08-09 21:58:11 -0700 | |
| commit | 0b274050c4d427828595c12c2e4e53d98612b4f9 (patch) | |
| tree | 0c88af19fe668d13a127e78f2d4d4b3730a155a3 /scripts/Makefile.thinlto | |
| parent | perf python: Validate CPU and thread maps in pyrf_evsel__open (diff) | |
perf python: Validate attribute setters in pyrf_evsel
If val is NULL when setting an attribute, PyErr_SetString should be
called as deleting the attribute isn't supported. In addition, ensure
PyErr_Occurred is checked before setting the attribute to avoid setting
a garbage value.
Fixes: 877108e42b1b ("perf tools: Initial python binding")
Signed-off-by: Ian Rogers <irogers@google.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
