linux-stable/net/sunrpc/auth_gss
Zhipeng Lu 996997d1fb SUNRPC: fix some memleaks in gssx_dec_option_array
[ Upstream commit 3cfcfc102a ]

The creds and oa->data need to be freed in the error-handling paths after
their allocation. So this patch add these deallocations in the
corresponding paths.

Fixes: 1d658336b0 ("SUNRPC: Add RPC based upcall mechanism for RPCGSS auth")
Signed-off-by: Zhipeng Lu <alexious@zju.edu.cn>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-03-26 18:16:51 -04:00
..
auth_gss.c net: fill in MODULE_DESCRIPTION()s for Sun RPC 2024-01-11 16:16:08 -08:00
auth_gss_internal.h SUNRPC/auth_gss: Convert GFP_NOFS to GFP_KERNEL 2022-02-25 18:50:12 -05:00
gss_generic_token.c sunrpc: Remove unneeded null check 2022-01-06 14:00:20 -05:00
gss_krb5_crypto.c SUNRPC: Do not include crypto/algapi.h 2023-09-15 18:30:43 +08:00
gss_krb5_internal.h SUNRPC: Remove net/sunrpc/auth_gss/gss_krb5_seqnum.c 2023-08-29 17:45:22 -04:00
gss_krb5_keys.c SUNRPC: Remove krb5_derive_key_v1() 2023-08-29 17:45:22 -04:00
gss_krb5_mech.c SUNRPC: fix a memleak in gss_import_v2_context 2024-03-26 18:16:51 -04:00
gss_krb5_seal.c SUNRPC: Remove code behind CONFIG_RPCSEC_GSS_KRB5_SIMPLIFIED 2023-08-29 17:45:22 -04:00
gss_krb5_test.c SUNRPC: Remove Kunit tests for the DES3 encryption type 2023-08-29 17:45:22 -04:00
gss_krb5_unseal.c SUNRPC: Do not include crypto/algapi.h 2023-09-15 18:30:43 +08:00
gss_krb5_wrap.c SUNRPC: Remove code behind CONFIG_RPCSEC_GSS_KRB5_SIMPLIFIED 2023-08-29 17:45:22 -04:00
gss_mech_switch.c sunrpc: clean up properly in gss_mech_unregister() 2020-05-28 18:15:00 -04:00
gss_rpc_upcall.c SUNRPC: Ensure that the gssproxy client can start in a connected state 2022-05-07 14:31:15 -04:00
gss_rpc_upcall.h SUNRPC: Add SPDX IDs to some net/sunrpc/auth_gss/ files 2019-02-14 09:54:37 -05:00
gss_rpc_xdr.c SUNRPC: fix some memleaks in gssx_dec_option_array 2024-03-26 18:16:51 -04:00
gss_rpc_xdr.h SUNRPC: Add SPDX IDs to some net/sunrpc/auth_gss/ files 2019-02-14 09:54:37 -05:00
Makefile SUNRPC: Remove net/sunrpc/auth_gss/gss_krb5_seqnum.c 2023-08-29 17:45:22 -04:00
svcauth_gss.c SUNRPC: Remove RQ_SPLICE_OK 2024-01-07 17:54:26 -05:00
trace.c SUNRPC: remove duplicate include 2020-08-19 13:19:42 -04:00