Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 300050
b: refs/heads/master
c: d8f2799
h: refs/heads/master
v: v3
  • Loading branch information
Stefan Metzmacher authored and Steve French committed May 4, 2012
1 parent a8614e7 commit 9fdb3f6
Show file tree
Hide file tree
Showing 2 changed files with 6 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: a557b97616c49d81e09c8439831d4c4f13ef4050
refs/heads/master: d8f2799b105a24bb0bbd3380a0d56e6348484058
6 changes: 5 additions & 1 deletion trunk/fs/cifs/cifssmb.c
Original file line number Diff line number Diff line change
Expand Up @@ -4844,8 +4844,12 @@ parse_DFS_referrals(TRANSACTION2_GET_DFS_REFER_RSP *pSMBr,
max_len = data_end - temp;
node->node_name = cifs_strndup_from_utf16(temp, max_len,
is_unicode, nls_codepage);
if (!node->node_name)
if (!node->node_name) {
rc = -ENOMEM;
goto parse_DFS_referrals_exit;
}

ref++;
}

parse_DFS_referrals_exit:
Expand Down

0 comments on commit 9fdb3f6

Please sign in to comment.