gnunet-svn
[Top][All Lists]
Advanced

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

[taler-taler-mdb] branch master updated: Dont test checksum for cmds sma


From: gnunet
Subject: [taler-taler-mdb] branch master updated: Dont test checksum for cmds smaller than or equal 2 bytes
Date: Sat, 28 Dec 2019 20:39:55 +0100

This is an automated email from the git hooks/post-receive script.

dominik-hofer pushed a commit to branch master
in repository taler-mdb.

The following commit(s) were added to refs/heads/master by this push:
     new 22b5964  Dont test checksum for cmds smaller than or equal 2 bytes
22b5964 is described below

commit 22b5964470d94535e27164e84f762a149c1ad680
Author: Dominik Hofer <address@hidden>
AuthorDate: Sat Dec 28 20:39:43 2019 +0100

    Dont test checksum for cmds smaller than or equal 2 bytes
---
 src/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main.c b/src/main.c
index c1e6abb..e98a68b 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1936,7 +1936,7 @@ handle_command (const char *hex,
   }
        
   /* Calculate the checksum and check it */
-       if (2 < hex_len)
+       if (4 < hex_len)
        {
                chkSum = cmd;
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

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