diff options
author | Gerald Carter <jerry@samba.org> | 2003-06-06 14:53:28 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2003-06-06 14:53:28 +0000 |
commit | 7e7904e91ebf6c33cea422e903762409099717d1 (patch) | |
tree | 6efec48ab63a369d1597c4b9c8fa9fa1a39599d8 /source/libsmb/nmblib.c | |
parent | 3fbef9f51c5b3741c53752834352db04e1c2660d (diff) | |
download | samba-7e7904e91ebf6c33cea422e903762409099717d1.tar.gz |
working on creating the 3.0 release tree
Diffstat (limited to 'source/libsmb/nmblib.c')
-rw-r--r-- | source/libsmb/nmblib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/libsmb/nmblib.c b/source/libsmb/nmblib.c index 30ce5b6b10c..b96111240f1 100644 --- a/source/libsmb/nmblib.c +++ b/source/libsmb/nmblib.c @@ -295,7 +295,7 @@ static int put_nmb_name(char *buf,int offset,struct nmb_name *name) if (name->scope[0]) { /* XXXX this scope handling needs testing */ ret += strlen(name->scope) + 1; - pstrcpy(&buf[offset+1],name->scope); + safe_strcpy(&buf[offset+1],name->scope,sizeof(name->scope)); p = &buf[offset+1]; while ((p = strchr_m(p,'.'))) { |