git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
555ca1d
)
r15213: Remove helper macro for bcopy() - this causes problems
author
Jelmer Vernooij
<jelmer@samba.org>
Mon, 24 Apr 2006 16:15:29 +0000
(16:15 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 19:04:19 +0000
(14:04 -0500)
with system headers on some system and is not a security threat
source/lib/util/safe_string.h
patch
|
blob
|
history
diff --git
a/source/lib/util/safe_string.h
b/source/lib/util/safe_string.h
index 43e094467ccd00955b8b1d31066bcf76b119c358..92d11ca8482e6f21c3f533353ade6371d10667d8 100644
(file)
--- a/
source/lib/util/safe_string.h
+++ b/
source/lib/util/safe_string.h
@@
-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 */