[SCM] Samba Shared Repository - branch v3-3-test updated -
release-3-2-0pre2-3070-g3a7542f
Jeremy Allison
jra at samba.org
Wed Jul 2 23:32:42 GMT 2008
The branch, v3-3-test has been updated
via 3a7542fd495223c3a504571a52e2d00551fea0e2 (commit)
from fc2178b04743d2f94be7b489b793fc67826557ac (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test
- Log -----------------------------------------------------------------
commit 3a7542fd495223c3a504571a52e2d00551fea0e2
Author: Jeremy Allison <jra at samba.org>
Date: Wed Jul 2 16:31:16 2008 -0700
Remove worrying warning message when safe_strcpy tries to copy a pseaudo interface
name that's too long. Reported by James Kosin <JKosin at intcomgrp.com>.
Jeremy.
-----------------------------------------------------------------------
Summary of changes:
source/lib/interface.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/lib/interface.c b/source/lib/interface.c
index 9627bf6..eb0af9e 100644
--- a/source/lib/interface.c
+++ b/source/lib/interface.c
@@ -469,7 +469,7 @@ static void interpret_interface(char *token)
token));
ZERO_STRUCT(ifs);
- safe_strcpy(ifs.name, token, sizeof(ifs.name)-1);
+ (void)strlcpy(ifs.name, token, sizeof(ifs.name));
ifs.flags = IFF_BROADCAST;
ifs.ip = ss;
ifs.netmask = ss_mask;
--
Samba Shared Repository
More information about the samba-cvs
mailing list