diff options
author | Scott Mayhew <smayhew@redhat.com> | 2020-04-02 17:20:44 -0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2020-04-02 18:37:13 -0400 |
commit | 529af90576cfa44aa107e9876e2ebaa053983986 (patch) | |
tree | eeb5341e351a85d9664e3bb3ffedd0e58bc0e612 /fs/nfs/callback_xdr.c | |
parent | ed5d588fe47feef290f271022820e255d8371561 (diff) | |
download | lwn-529af90576cfa44aa107e9876e2ebaa053983986.tar.gz lwn-529af90576cfa44aa107e9876e2ebaa053983986.zip |
NFS: Fix a few constant_table array definitions
nfs_vers_tokens, nfs_xprt_protocol_tokens, and nfs_secflavor_tokens were
all missing an empty item at the end of the array, allowing
lookup_constant() to potentially walk off the end and trigger and oops.
Reported-by: Olga Kornievskaia <aglo@umich.edu>
Signed-off-by: Scott Mayhew <smayhew@redhat.com>
Fixes: e38bb238ed8c ("NFS: Convert mount option parsing to use functionality from fs_parser.h")
Cc: stable@vger.kernel.org # v5.6
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'fs/nfs/callback_xdr.c')
0 files changed, 0 insertions, 0 deletions