summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-07-09 13:04:44 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:23:54 -0500
commita3f69f3710edfca08fce2f8b03ffcd7147edef85 (patch)
tree5fa74b37807fbe724f6026bde202f874ceb3ccb6 /source3/smbd
parent9406f7d4d2d4cbe64c899c17dc02e99c2e05ec9d (diff)
downloadsamba-a3f69f3710edfca08fce2f8b03ffcd7147edef85.tar.gz
samba-a3f69f3710edfca08fce2f8b03ffcd7147edef85.tar.bz2
samba-a3f69f3710edfca08fce2f8b03ffcd7147edef85.zip
r23764: Do restore_case_semantics in an error path. Jeremy, please check!
(This used to be commit 3b5422c9a401321788d824c68da31a39d85aece1)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/nttrans.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c
index f4508d07f1..17d71117ed 100644
--- a/source3/smbd/nttrans.c
+++ b/source3/smbd/nttrans.c
@@ -731,6 +731,7 @@ int reply_ntcreate_and_X(connection_struct *conn,
/* Can't open a temp directory. IFS kit test. */
if (file_attributes & FILE_ATTRIBUTE_TEMPORARY) {
+ restore_case_semantics(conn, file_attributes);
END_PROFILE(SMBntcreateX);
return ERROR_NT(NT_STATUS_INVALID_PARAMETER);
}