mirror of
https://github.com/samba-team/samba.git
synced 2025-01-13 13:18:06 +03:00
r20589: Re-add lost bad_path handling, sorry.
This commit is contained in:
parent
5373897ef5
commit
244f96388c
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user