diff options
author | Jeremy Allison <jra@samba.org> | 1997-09-30 02:38:19 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1997-09-30 02:38:19 +0000 |
commit | 92f1553db2cdf6f32881eb984a87050cf3e4760b (patch) | |
tree | ba884407df1bbc8255dfd11f8adb1e5155ebf415 /source/smbd/dir.c | |
parent | b11833f1bdecf1c3c3e5bc7494741605cba92a1e (diff) | |
download | samba-92f1553db2cdf6f32881eb984a87050cf3e4760b.tar.gz samba-92f1553db2cdf6f32881eb984a87050cf3e4760b.tar.xz samba-92f1553db2cdf6f32881eb984a87050cf3e4760b.zip |
dir.c: more pstrcpys.
local.h: Add OPLOCK_BREAK_TIMEOUT.
password.c: Fix for paranoia password server security bug.
proto.h: Updated.
reply.c: Oplock changes.
server.c: Massive oplock changes - nearly there....
smb.h: oplock definitions.
util.c: Add local message processing queues for oplocks.
Jeremy (jallison@whistle.com)
Diffstat (limited to 'source/smbd/dir.c')
-rw-r--r-- | source/smbd/dir.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/smbd/dir.c b/source/smbd/dir.c index 567bc14424e..316b58818fd 100644 --- a/source/smbd/dir.c +++ b/source/smbd/dir.c @@ -470,12 +470,12 @@ BOOL get_dir_entry(int cnum,char *mask,int dirtype,char *fname,int *size,int *mo if (isrootdir && (strequal(filename,"..") || strequal(filename,"."))) continue; - strcpy(fname,filename); + pstrcpy(fname,filename); *path = 0; - strcpy(path,Connections[cnum].dirpath); + pstrcpy(path,Connections[cnum].dirpath); if(needslash) strcat(path,"/"); - strcpy(pathreal,path); + pstrcpy(pathreal,path); strcat(path,fname); strcat(pathreal,dname); if (sys_stat(pathreal,&sbuf) != 0) |