diff options
author | Volker Lendecke <vlendec@samba.org> | 2007-07-09 13:04:44 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:23:54 -0500 |
commit | 3b5422c9a401321788d824c68da31a39d85aece1 (patch) | |
tree | 36aa949ec0a796f9afe5e96acfcc86a0a71846a9 | |
parent | 0ae6ae4ee8098abdfefc9fe7c3880bfbb6da52a8 (diff) | |
download | samba-3b5422c9a401321788d824c68da31a39d85aece1.tar.gz samba-3b5422c9a401321788d824c68da31a39d85aece1.tar.xz samba-3b5422c9a401321788d824c68da31a39d85aece1.zip |
r23764: Do restore_case_semantics in an error path. Jeremy, please check!
-rw-r--r-- | source/smbd/nttrans.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/smbd/nttrans.c b/source/smbd/nttrans.c index f4508d07f16..17d71117ed8 100644 --- a/source/smbd/nttrans.c +++ b/source/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); } |