Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 210669
b: refs/heads/master
c: 651b293
h: refs/heads/master
i:
  210667: 9fbc43c
v: v3
  • Loading branch information
Bian Naimeng authored and Trond Myklebust committed Sep 12, 2010
1 parent 0405f39 commit b9a0172
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ce8477e1176389ed920550f4c925ad4a815b22d5
refs/heads/master: 651b2933b22a0c060e6bb940c4104eb447a61f9a
5 changes: 4 additions & 1 deletion trunk/net/sunrpc/auth_gss/gss_spkm3_mech.c
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ gss_import_sec_context_spkm3(const void *p, size_t len,
if (version != 1) {
dprintk("RPC: unknown spkm3 token format: "
"obsolete nfs-utils?\n");
p = ERR_PTR(-EINVAL);
goto out_err_free_ctx;
}

Expand Down Expand Up @@ -135,8 +136,10 @@ gss_import_sec_context_spkm3(const void *p, size_t len,
if (IS_ERR(p))
goto out_err_free_intg_alg;

if (p != end)
if (p != end) {
p = ERR_PTR(-EFAULT);
goto out_err_free_intg_key;
}

ctx_id->internal_ctx_id = ctx;

Expand Down

0 comments on commit b9a0172

Please sign in to comment.