diff options
author | Dinghao Liu <[email protected]> | 2021-01-05 14:03:40 +0800 |
---|---|---|
committer | Richard Weinberger <[email protected]> | 2021-02-12 21:53:22 +0100 |
commit | 11b8ab3836454a2600e396f34731e491b661f9d5 (patch) | |
tree | 53a6514323a97fdc5b4e60c9be837193c3e358c2 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 19646447ad3a680d2ab08c097585b7d96a66126b (diff) |
ubifs: Fix memleak in ubifs_init_authentication
When crypto_shash_digestsize() fails, c->hmac_tfm
has not been freed before returning, which leads
to memleak.
Fixes: 49525e5eecca5 ("ubifs: Add helper functions for authentication support")
Signed-off-by: Dinghao Liu <[email protected]>
Reviewed-by: Zhihao Cheng <[email protected]>
Signed-off-by: Richard Weinberger <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions