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_2_11-23-ge9e074f


From: Nikos Mavrogiannopoulos
Subject: [SCM] GNU libtasn1 branch, master, updated. libtasn1_2_11-23-ge9e074f
Date: Tue, 13 Mar 2012 21:30:54 +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=e9e074f518658c46dcc45c9305c7ff4f8eade302

The branch, master has been updated
       via  e9e074f518658c46dcc45c9305c7ff4f8eade302 (commit)
      from  a525a18a080b8d2a5ae0c6b09bdae1d25e684a77 (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 e9e074f518658c46dcc45c9305c7ff4f8eade302
Author: Nikos Mavrogiannopoulos <address@hidden>
Date:   Tue Mar 13 22:37:16 2012 +0100

    for some reason the tot < 0 test wasn't successful on negative results. 
Replaced with tot < ret.

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

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

diff --git a/lib/decoding.c b/lib/decoding.c
index 57e7b2b..9cd5a34 100644
--- a/lib/decoding.c
+++ b/lib/decoding.c
@@ -111,8 +111,8 @@ int ret, tot;
     return ret;
   
   tot = ret + *len;
-  
-  if (tot < 0 || tot > der_len)
+
+  if (tot < ret || tot > der_len)
     return -3;
 
   return ret;


hooks/post-receive
-- 
GNU libtasn1



reply via email to

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