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_4_9-34-g4eddbe8


From: Nikos Mavrogiannopoulos
Subject: [SCM] GNU libtasn1 branch, master, updated. libtasn1_4_9-34-g4eddbe8
Date: Mon, 16 Jan 2017 15:36:49 +0000 (UTC)

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=4eddbe86fad990612b5f134b8ba44976be91abfd

The branch, master has been updated
       via  4eddbe86fad990612b5f134b8ba44976be91abfd (commit)
      from  551d63d20cf7cc9b1e9aa7d6d452857c4310350a (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 4eddbe86fad990612b5f134b8ba44976be91abfd
Author: Nikos Mavrogiannopoulos <address@hidden>
Date:   Mon Jan 16 16:35:10 2017 +0100

    _asn1_ltostr: avoid undefined negation of int64_t
    
    Use cast to (uint64_t) and negation instead.
    
    Signed-off-by: Nikos Mavrogiannopoulos <address@hidden>

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

Summary of changes:
 lib/parser_aux.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/parser_aux.c b/lib/parser_aux.c
index 7313eeb..b4a7370 100644
--- a/lib/parser_aux.c
+++ b/lib/parser_aux.c
@@ -560,7 +560,7 @@ _asn1_ltostr (int64_t v, char str[LTOSTR_MAX_SIZE])
     {
       str[0] = '-';
       start = 1;
-      val = -v;
+      val = -((uint64_t)v);
     }
   else
     {


hooks/post-receive
-- 
GNU libtasn1



reply via email to

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