svn commit: samba r24157 - in branches/SAMBA_4_0/source/winbind: .

kai at samba.org kai at samba.org
Fri Aug 3 13:51:13 GMT 2007


Author: kai
Date: 2007-08-03 13:51:12 +0000 (Fri, 03 Aug 2007)
New Revision: 24157

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=24157

Log:
Merge from kai/samba4-gsoc.git;h=728deba680f8cf85cab168a6278a2cf657f65fdb

Make WBSRV_SAMBA3_SET_STRING use safe_strcpy instead of strncpy.


Modified:
   branches/SAMBA_4_0/source/winbind/wb_server.h


Changeset:
Modified: branches/SAMBA_4_0/source/winbind/wb_server.h
===================================================================
--- branches/SAMBA_4_0/source/winbind/wb_server.h	2007-08-03 13:34:02 UTC (rev 24156)
+++ branches/SAMBA_4_0/source/winbind/wb_server.h	2007-08-03 13:51:12 UTC (rev 24157)
@@ -103,7 +103,7 @@
 };
 
 #define WBSRV_SAMBA3_SET_STRING(dest, src) do { \
-	strncpy(dest, src, sizeof(dest)-1);\
+	safe_strcpy(dest, src, sizeof(dest)-1);\
 } while(0)
 
 /*



More information about the samba-cvs mailing list