diff options
author | Jeff Layton <jlayton@kernel.org> | 2024-08-22 14:47:01 -0400 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2024-08-22 14:49:10 -0400 |
commit | f58bab6fd4063913bd8321e99874b8239e9ba726 (patch) | |
tree | f790c9dacff46590d07a1b3811eecb9a7e36efe4 /drivers/usb/cdns3/cdns3-starfive.c | |
parent | 91da337e5d506f2c065d20529d105ca40090e320 (diff) |
nfsd: ensure that nfsd4_fattr_args.context is zeroed out
If nfsd4_encode_fattr4 ends up doing a "goto out" before we get to
checking for the security label, then args.context will be set to
uninitialized junk on the stack, which we'll then try to free.
Initialize it early.
Fixes: f59388a579c6 ("NFSD: Add nfsd4_encode_fattr4_sec_label()")
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-starfive.c')
0 files changed, 0 insertions, 0 deletions