summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-02-05 03:10:23 +0000
committerJeremy Allison <jra@samba.org>2002-02-05 03:10:23 +0000
commit72f6efe38808b8c7205607031134e6bef2294cf8 (patch)
treec1939fcac7a4c6447188c1fb72fa12db0fd12784
parent534878fac1c88ef0cdb68131fabc05eae7c9ee61 (diff)
downloadsamba-72f6efe38808b8c7205607031134e6bef2294cf8.tar.gz
samba-72f6efe38808b8c7205607031134e6bef2294cf8.tar.xz
samba-72f6efe38808b8c7205607031134e6bef2294cf8.zip
Check for NULL params (from HEAD).
-rw-r--r--source/smbd/trans2.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/smbd/trans2.c b/source/smbd/trans2.c
index b90f7537ca1..4168edf7705 100644
--- a/source/smbd/trans2.c
+++ b/source/smbd/trans2.c
@@ -1545,6 +1545,9 @@ static int call_trans2qfilepathinfo(connection_struct *conn, char *inbuf, char *
BOOL delete_pending = False;
time_t c_time;
+ if (!params)
+ return ERROR_NT(NT_STATUS_INVALID_PARAMETER);
+
if (tran_call == TRANSACT2_QFILEINFO) {
files_struct *fsp;