diff options
| author | Gaosheng Cui <[email protected]> | 2024-07-06 06:50:08 +0000 |
|---|---|---|
| committer | Chuck Lever <[email protected]> | 2024-07-08 18:10:06 +0000 |
| commit | a3123341dc358952ce2bf8067fbdfb7eaadf71bb (patch) | |
| tree | 7732fbe47558a135c4b4c1ec02064caf2a973466 /scripts/gcc-plugins/structleak_plugin.c | |
| parent | MAINTAINERS: Add a bugzilla link for NFSD (diff) | |
| download | kernel-a3123341dc358952ce2bf8067fbdfb7eaadf71bb.tar.gz kernel-a3123341dc358952ce2bf8067fbdfb7eaadf71bb.zip | |
gss_krb5: Fix the error handling path for crypto_sync_skcipher_setkey
If we fail to call crypto_sync_skcipher_setkey, we should free the
memory allocation for cipher, replace err_return with err_free_cipher
to free the memory of cipher.
Fixes: 4891f2d008e4 ("gss_krb5: import functionality to derive keys into the kernel")
Signed-off-by: Gaosheng Cui <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Signed-off-by: Chuck Lever <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/structleak_plugin.c')
0 files changed, 0 insertions, 0 deletions
