The branch, master has been updated
       via  f387d9a ccan: Fix calling memset with zero length parameter
      from  6ac6bf9 docs: Bump version in meta data up to 4.1.

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


- Log -----------------------------------------------------------------
commit f387d9a352141dad9e9aea9e0d19d6d769f414c0
Author: Volker Lendecke <v...@samba.org>
Date:   Thu Jul 11 14:57:53 2013 +0200

    ccan: Fix calling memset with zero length parameter
    
    Signed-off-by: Volker Lendecke <v...@samba.org>
    Reviewed-by: Andreas Schneider <a...@samba.org>
    
    Autobuild-User(master): Andreas Schneider <a...@cryptomilk.org>
    Autobuild-Date(master): Thu Jul 11 16:55:49 CEST 2013 on sn-devel-104

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

Summary of changes:
 lib/ccan/tally/tally.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/lib/ccan/tally/tally.c b/lib/ccan/tally/tally.c
index 774373c..29f0555 100644
--- a/lib/ccan/tally/tally.c
+++ b/lib/ccan/tally/tally.c
@@ -506,11 +506,11 @@ char *tally_histogram(const struct tally *tally,
 
                if (count > covered) {
                        count -= covered;
+                       memset(p, '*', count);
                } else {
                        count = 0;
                }
 
-               memset(p, '*', count);
                p += count;
                *p = '\n';
                p++;


-- 
Samba Shared Repository

Reply via email to