git.samba.org
/
gd
/
samba
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fd77d6
)
Added in veto files parameter create by Whistle.
author
Samba Release Account
<samba-bugs@samba.org>
Tue, 10 Dec 1996 17:49:11 +0000
(17:49 +0000)
committer
Samba Release Account
<samba-bugs@samba.org>
Tue, 10 Dec 1996 17:49:11 +0000
(17:49 +0000)
jra@cygnus.com
source/smbd/dir.c
patch
|
blob
|
history
diff --git
a/source/smbd/dir.c
b/source/smbd/dir.c
index 73c4afd77e67c5914044a190982fd8a445bab7c3..f3c1ae020e1ed9dd7c1673fedfe1c25c2998c551 100644
(file)
--- a/
source/smbd/dir.c
+++ b/
source/smbd/dir.c
@@
-533,6
+533,9
@@
void *OpenDir(char *name)
while ((n = readdirname(p))) {
int l = strlen(n)+1;
+ /* If it's a vetoed file, pretend it doesn't even exist */
+ if(is_vetoed_name(n))
+ continue;
if (used + l > dirp->mallocsize) {
int s = MAX(used+l,used+2000);
char *r;