diff options
| author | Weili Qian <qianweili@huawei.com> | 2021-12-11 16:17:19 +0800 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2021-12-17 16:59:48 +1100 |
| commit | 51fa916b81e5f406a74f14a31a3a228c3cc060ad (patch) | |
| tree | d8cdd092c855ed59eb824ff86817a8e205b9422f /scripts/generate_rust_analyzer.py | |
| parent | 244d22ffd656bc8e5c49a2cd2fdfeb0e52a9730f (diff) | |
crypto: hisilicon/hpre - fix memory leak in hpre_curve25519_src_init()
hpre_curve25519_src_init() allocates memory for 'ptr' before calling
memcmp(). If memcmp() returns 0, the function will return '-EINVAL'
without freeing memory.
Signed-off-by: Weili Qian <qianweili@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions
