The branch, v3-2-test has been updated
       via  5ab76b58c00dde89b56060482f5cdc5d0c6c56cb (commit)
      from  08ee4314a9e25700288f4ea1af22ee1732dfea61 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test


- Log -----------------------------------------------------------------
commit 5ab76b58c00dde89b56060482f5cdc5d0c6c56cb
Author: Jeremy Allison <[EMAIL PROTECTED]>
Date:   Sun Nov 4 22:14:19 2007 -0800

    This should really be a cond_set_smb_read_error().
    Jeremy.

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

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


Changeset truncated at 500 lines:

diff --git a/source/lib/util_sock.c b/source/lib/util_sock.c
index ea0bf28..d87d954 100644
--- a/source/lib/util_sock.c
+++ b/source/lib/util_sock.c
@@ -1276,9 +1276,7 @@ bool receive_smb(int fd, char *buffer, unsigned int 
timeout)
        if (!srv_check_sign_mac(buffer, true)) {
                DEBUG(0, ("receive_smb: SMB Signature verification "
                        "failed on incoming packet!\n"));
-               if (get_smb_read_error() == SMB_READ_OK) {
-                       smb_read_error = SMB_READ_BAD_SIG;
-               }
+               cond_set_smb_read_error(SMB_READ_BAD_SIG);
                return false;
        }
 


-- 
Samba Shared Repository

Reply via email to