git://git.onelab.eu
/
vsys-scripts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d18a97
)
[End of patch series]
author
Sapan Bhatia
<sapanb@cs.princeton.edu>
Tue, 24 Mar 2009 22:01:56 +0000
(22:01 +0000)
committer
Sapan Bhatia
<sapanb@cs.princeton.edu>
Tue, 24 Mar 2009 22:01:56 +0000
(22:01 +0000)
fd_fusemount.c
patch
|
blob
|
history
diff --git
a/fd_fusemount.c
b/fd_fusemount.c
index
de05b55
..
daae97a
100644
(file)
--- a/
fd_fusemount.c
+++ b/
fd_fusemount.c
@@
-50,8
+50,8
@@
void check_source(char *source) {
}
void check_target(char *target) {
-
source
[arg_length-1]='\0';
- if (strstr(
source
,"..")) {
+
target
[arg_length-1]='\0';
+ if (strstr(
target
,"..")) {
printf("Tried mounting with target = %s\n", target);
exit(1);
}