Skip to content
Commit 529af905 authored by Scott Mayhew's avatar Scott Mayhew Committed by Trond Myklebust
Browse files

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: default avatarOlga Kornievskaia <aglo@umich.edu>
Signed-off-by: default avatarScott Mayhew <smayhew@redhat.com>
Fixes: e38bb238 ("NFS: Convert mount option parsing to use functionality from fs_parser.h")
Cc: stable@vger.kernel.org # v5.6
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
parent ed5d588f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment