kernel_samsung_a53x/net/sunrpc/auth_gss
Zhipeng Lu ee9218762c SUNRPC: fix some memleaks in gssx_dec_option_array
[ Upstream commit 3cfcfc102a5e57b021b786a755a38935e357797d ]

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: 1d658336b05f ("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-11-19 08:44:47 +01:00
..
auth_gss.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
auth_gss_internal.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gss_generic_token.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gss_krb5_crypto.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gss_krb5_keys.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gss_krb5_mech.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gss_krb5_seal.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gss_krb5_seqnum.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gss_krb5_unseal.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gss_krb5_wrap.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gss_mech_switch.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gss_rpc_upcall.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gss_rpc_upcall.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gss_rpc_xdr.c SUNRPC: fix some memleaks in gssx_dec_option_array 2024-11-19 08:44:47 +01:00
gss_rpc_xdr.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
svcauth_gss.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
trace.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00