public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4b4fcc
)
open: fix bug introduced in handling of invalid directory paths during an open
author
Alan Cox
<alan@linux.intel.com>
Tue, 30 Aug 2016 22:10:59 +0000
(23:10 +0100)
committer
Alan Cox
<alan@linux.intel.com>
Tue, 30 Aug 2016 22:10:59 +0000
(23:10 +0100)
Kernel/syscall_fs3.c
patch
|
blob
|
history
diff --git
a/Kernel/syscall_fs3.c
b/Kernel/syscall_fs3.c
index
9cdf2f9
..
1473f17
100644
(file)
--- a/
Kernel/syscall_fs3.c
+++ b/
Kernel/syscall_fs3.c
@@
-53,7
+53,7
@@
arg_t _open(void)
}
} else {
/* The n_open failed */
- if (udata.u_error == EFAULT)
+ if (udata.u_error == EFAULT
|| parent == NULL
)
goto cantopen;
/* New file */