mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
s3:smbd: Fix a possibile null pointer dereference
Found by clang. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Isaac Boukris <iboukris@samba.org>
This commit is contained in:
parent
e7204f3c9e
commit
ccf1c2227e
@ -6024,7 +6024,7 @@ NTSTATUS create_file_default(connection_struct *conn,
|
||||
|
||||
fake_file_type = is_fake_file(smb_fname);
|
||||
|
||||
if (fake_file_type != FAKE_FILE_TYPE_NONE) {
|
||||
if (req != NULL && fake_file_type != FAKE_FILE_TYPE_NONE) {
|
||||
|
||||
/*
|
||||
* Here we go! support for changing the disk quotas
|
||||
|
Loading…
Reference in New Issue
Block a user