[SCM] Samba Shared Repository - branch v3-3-test updated -
release-3-2-0pre2-4326-g5e331c1
Volker Lendecke
vlendec at samba.org
Sun Nov 2 09:40:45 GMT 2008
The branch, v3-3-test has been updated
via 5e331c1cab20644550dc8d10f706b8561cce42ab (commit)
from 5fd164ca99074e4b358d53aaef56aa64520b6efd (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test
- Log -----------------------------------------------------------------
commit 5e331c1cab20644550dc8d10f706b8561cce42ab
Author: Volker Lendecke <vl at samba.org>
Date: Sun Nov 2 10:28:00 2008 +0100
Fix bug 5860: safe_strcpy gives a nasty error message for overlong strings
Thanks to Robert Dahlem <Robert.Dahlem at gmx.net> for reporting this!
-----------------------------------------------------------------------
Summary of changes:
source/smbd/mangle.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/smbd/mangle.c b/source/smbd/mangle.c
index 360692c..4d4d0dc 100644
--- a/source/smbd/mangle.c
+++ b/source/smbd/mangle.c
@@ -140,7 +140,7 @@ bool name_to_8_3(const char *in,
/* name mangling can be disabled for speed, in which case
we just truncate the string */
if (!lp_manglednames(p)) {
- safe_strcpy(out,in,12);
+ strlcpy(out, in, 13);
return True;
}
--
Samba Shared Repository
More information about the samba-cvs
mailing list