Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 209630
b: refs/heads/master
c: 850a496
h: refs/heads/master
v: v3
  • Loading branch information
Al Viro committed Aug 18, 2010
1 parent f2df8a5 commit 175b504
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 9cb569d601e0b93e01c20a22872270ec663b75f6
refs/heads/master: 850a496f969719b494cc972ab1d0e088737358d7
2 changes: 1 addition & 1 deletion trunk/fs/hostfs/hostfs_kern.c
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ static char *__dentry_name(struct dentry *dentry, char *name)
__putname(name);
return NULL;
}
strncpy(name, root, PATH_MAX);
strlcpy(name, root, PATH_MAX);
if (len > p - name) {
__putname(name);
return NULL;
Expand Down

0 comments on commit 175b504

Please sign in to comment.