Skip to content
Commit 14ace024 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

SUNRPC: Fix up an error return value in gss_import_sec_context_kerberos()



If the context allocation fails, the function currently returns a random
error code, since the variable 'p' still points to a valid memory location.

Ensure that it returns ENOMEM...

Cc: stable@kernel.org
Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent 55639353
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