libtasn1-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU libtasn1 branch, master, updated. libtasn1_3_6-4-gd927329


From: Nikos Mavrogiannopoulos
Subject: [SCM] GNU libtasn1 branch, master, updated. libtasn1_3_6-4-gd927329
Date: Tue, 27 May 2014 13:48:40 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU libtasn1".

http://git.savannah.gnu.org/cgit/libtasn1.git/commit/?id=d927329b2f6fe92d6be8eaee7896fa284ab43033

The branch, master has been updated
       via  d927329b2f6fe92d6be8eaee7896fa284ab43033 (commit)
      from  6cd01f6f8f5fe4a85d4df3febec4d9133e360b72 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit d927329b2f6fe92d6be8eaee7896fa284ab43033
Author: Nikos Mavrogiannopoulos <address@hidden>
Date:   Tue May 27 15:48:35 2014 +0200

    safe_memset: allow memset of zero bytes.

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

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

diff --git a/lib/gstr.h b/lib/gstr.h
index 34e8153..00c335c 100644
--- a/lib/gstr.h
+++ b/lib/gstr.h
@@ -36,7 +36,7 @@ void safe_memset(void *data, int c, size_t size)
         * sent by David Jacobson in the openssl-dev mailing list.
         */
 
-       do {
+       if (size > 0) do {
                memset(data, c, size);
        } while(vdata[volatile_zero] != c);
 }


hooks/post-receive
-- 
GNU libtasn1



reply via email to

[Prev in Thread] Current Thread [Next in Thread]