summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-01-06 18:59:02 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:16:56 -0500
commit244f96388c843fd629478d0069f68550a2006d06 (patch)
tree98da5d0f76b80e1f311f8c0c2c972a0a785423e9
parent5373897ef54ba5d04d214cd7a32d2c971059314c (diff)
downloadsamba-244f96388c843fd629478d0069f68550a2006d06.tar.gz
samba-244f96388c843fd629478d0069f68550a2006d06.tar.xz
samba-244f96388c843fd629478d0069f68550a2006d06.zip
r20589: Re-add lost bad_path handling, sorry.
-rw-r--r--source/smbd/reply.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/smbd/reply.c b/source/smbd/reply.c
index 793262f0af2..d33940aa64f 100644
--- a/source/smbd/reply.c
+++ b/source/smbd/reply.c
@@ -3790,6 +3790,10 @@ int reply_mkdir(connection_struct *conn, char *inbuf,char *outbuf, int dum_size,
RESOLVE_DFSPATH(directory, conn, inbuf, outbuf);
unix_convert(directory,conn,0,&bad_path,&sbuf);
+ if (bad_path) {
+ END_PROFILE(SMBmkdir);
+ return ERROR_NT(NT_STATUS_OBJECT_PATH_NOT_FOUND);
+ }
status = create_directory(conn, directory);