summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/trans2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index 372ab58b65..84d9b1cc17 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -680,7 +680,7 @@ static int call_trans2findfirst(char *inbuf, char *outbuf, int bufsize, int cnum
while (*p) {
if (*p == '<') {
pstring expnd;
- if(p[1] != '"') {
+ if(p[1] != '"' && p[1] != '.') {
pstrcpy( expnd, p+1 );
*p++ = '*';
*p = '.';