mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
r23764: Do restore_case_semantics in an error path. Jeremy, please check!
(This used to be commit 3b5422c9a4
)
This commit is contained in:
parent
9406f7d4d2
commit
a3f69f3710
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user