[SCM] Samba Shared Repository - branch master updated

Ira Cooper ira at samba.org
Fri Aug 1 14:11:04 MDT 2014


The branch, master has been updated
       via  9b24abe fix unstrcpy
      from  a058397 samba: Retain case sensitivity of cifs client

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 9b24abe2f7961c6c54ddc9cd90ff09bf429dd3c0
Author: Volker Lendecke <vl at samba.org>
Date:   Tue Jul 22 07:02:00 2014 +0200

    fix unstrcpy
    
    Signed-off-by: Volker Lendecke <vl at samba.org>
    Reviewed-by: Jeremy Allison <jra at samba.org>
    
    Bug: https://bugzilla.samba.org/show_bug.cgi?id=10735
    CVE-2014-3560: unstrcpy macro length is invalid
    
    Autobuild-User(master): Ira Cooper <ira at samba.org>
    Autobuild-Date(master): Fri Aug  1 22:10:23 CEST 2014 on sn-devel-104

-----------------------------------------------------------------------

Summary of changes:
 lib/util/string_wrappers.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/lib/util/string_wrappers.h b/lib/util/string_wrappers.h
index 5f9d568..243fafc 100644
--- a/lib/util/string_wrappers.h
+++ b/lib/util/string_wrappers.h
@@ -51,7 +51,7 @@ do { \
 #define unstrcpy(d,s) \
 do { \
 	const char *_unstrcpy_src = (const char *)(s); \
-	strlcpy((d),_unstrcpy_src ? _unstrcpy_src : "",sizeof(fstring)); \
+	strlcpy((d),_unstrcpy_src ? _unstrcpy_src : "",sizeof(unstring)); \
 } while (0)
 
 #ifdef HAVE_COMPILER_WILL_OPTIMIZE_OUT_FNS


-- 
Samba Shared Repository


More information about the samba-cvs mailing list