diff options
author | Joe Hattori <joe@pf.is.s.u-tokyo.ac.jp> | 2024-12-15 10:27:20 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2024-12-21 17:46:24 +0300 |
commit | 472a989029aac2b78ef2f0b18b27c568bf76d104 (patch) | |
tree | 58a02f8cfaef9d5a44ec001a1d2a4973c20bdf98 /tools/perf/scripts/python/task-analyzer.py | |
parent | a5a9d959936499a3106a1bf3b9070875d0d3dec4 (diff) | |
download | linux-472a989029aac2b78ef2f0b18b27c568bf76d104.tar.xz |
crypto: ixp4xx - fix OF node reference leaks in init_ixp_crypto()
init_ixp_crypto() calls of_parse_phandle_with_fixed_args() multiple
times, but does not release all the obtained refcounts. Fix it by adding
of_node_put() calls.
This bug was found by an experimental static analysis tool that I am
developing.
Fixes: 76f24b4f46b8 ("crypto: ixp4xx - Add device tree support")
Signed-off-by: Joe Hattori <joe@pf.is.s.u-tokyo.ac.jp>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions