git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5563935
)
SUNRPC: Fix up an error return value in gss_import_sec_context_kerberos()
author
Trond Myklebust
<Trond.Myklebust@netapp.com>
Fri, 18 Dec 2009 21:28:05 +0000
(16:28 -0500)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Fri, 18 Dec 2009 21:28:05 +0000
(16:28 -0500)
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: Trond Myklebust <Trond.Myklebust@netapp.com>
No differences found