git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc7f13c
)
Found by metze with the clobber-region check - if it's a pstring, use pstrcpy().
author
Andrew Bartlett
<abartlet@samba.org>
Fri, 14 Mar 2003 10:02:12 +0000
(10:02 +0000)
committer
Andrew Bartlett
<abartlet@samba.org>
Fri, 14 Mar 2003 10:02:12 +0000
(10:02 +0000)
Andrew Bartlett
(This used to be commit
f9c3c93f55cac774e576fd5975c0582e0b334d6a
)
source3/libsmb/clifile.c
patch
|
blob
|
history
diff --git
a/source3/libsmb/clifile.c
b/source3/libsmb/clifile.c
index 8e84963c09475d182d98b3d6db5ffc25b49ad40b..d86f36405ddaea9e084f67c11695877fda7065a9 100644
(file)
--- a/
source3/libsmb/clifile.c
+++ b/
source3/libsmb/clifile.c
@@
-948,7
+948,7
@@
BOOL cli_chkpath(struct cli_state *cli, const char *path)
pstring path2;
char *p;
-
safe_strcpy(path2,path,sizeof(pstring)
);
+
pstrcpy(path2,path
);
trim_string(path2,NULL,"\\");
if (!*path2) *path2 = '\\';