svn commit: samba r15213 - in branches/SAMBA_4_0/source/lib/util: .

jelmer at samba.org jelmer at samba.org
Mon Apr 24 16:15:29 GMT 2006


Author: jelmer
Date: 2006-04-24 16:15:29 +0000 (Mon, 24 Apr 2006)
New Revision: 15213

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

Log:
Remove helper macro for bcopy() - this causes problems 
with system headers on some system and is not a security threat

Modified:
   branches/SAMBA_4_0/source/lib/util/safe_string.h


Changeset:
Modified: branches/SAMBA_4_0/source/lib/util/safe_string.h
===================================================================
--- branches/SAMBA_4_0/source/lib/util/safe_string.h	2006-04-24 16:01:33 UTC (rev 15212)
+++ branches/SAMBA_4_0/source/lib/util/safe_string.h	2006-04-24 16:15:29 UTC (rev 15213)
@@ -25,11 +25,6 @@
 /* Some macros to ensure people don't use buffer overflow vulnerable string
    functions. */
 
-#ifdef bcopy
-#undef bcopy
-#endif /* bcopy */
-#define bcopy(src,dest,size) __ERROR__XX__NEVER_USE_BCOPY___;
-
 #ifdef strcpy
 #undef strcpy
 #endif /* strcpy */



More information about the samba-cvs mailing list