diff options
author | Jeremy Allison <jra@samba.org> | 2005-03-03 04:03:36 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:55:52 -0500 |
commit | c56d5cd4c4c0ddc2b9cb018b1cb1fceb1f2fc030 (patch) | |
tree | 1afa98ccd000b2b845f5bd2047368c93a8f52e49 /source3/smbd/nttrans.c | |
parent | 02fdabc2a7f0199bc5f42afb2c744f3c740122e4 (diff) | |
download | samba-c56d5cd4c4c0ddc2b9cb018b1cb1fceb1f2fc030.tar.gz samba-c56d5cd4c4c0ddc2b9cb018b1cb1fceb1f2fc030.tar.bz2 samba-c56d5cd4c4c0ddc2b9cb018b1cb1fceb1f2fc030.zip |
r5637: Actually test and fix the crash bugs (sorry:-).
Jeremy.
(This used to be commit 4348ca48549ded8c056877befa216f0e768cb2c1)
Diffstat (limited to 'source3/smbd/nttrans.c')
-rw-r--r-- | source3/smbd/nttrans.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c index aaf1d1679b..eb2232942b 100644 --- a/source3/smbd/nttrans.c +++ b/source3/smbd/nttrans.c @@ -1012,7 +1012,7 @@ create_options = 0x%x root_dir_fid = 0x%x\n", flags, desired_access, file_attrib p += 8; SIVAL(p,0,fmode); /* File Attributes. */ p += 4; - SOFF_T(p, 0, get_allocation_size(fsp,&sbuf)); + SOFF_T(p, 0, get_allocation_size(conn,fsp,&sbuf)); p += 8; SOFF_T(p,0,file_len); p += 8; @@ -1529,7 +1529,7 @@ static int call_nt_transact_create(connection_struct *conn, char *inbuf, char *o p += 8; SIVAL(p,0,fmode); /* File Attributes. */ p += 4; - SOFF_T(p, 0, get_allocation_size(fsp,&sbuf)); + SOFF_T(p, 0, get_allocation_size(conn,fsp,&sbuf)); p += 8; SOFF_T(p,0,file_len); p += 8; |