]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: Fix CID 1063259 Uninitialized scalar variable
authorVolker Lendecke <vl@samba.org>
Sun, 18 Aug 2013 20:35:32 +0000 (20:35 +0000)
committerKarolin Seeger <kseeger@samba.org>
Wed, 14 Jan 2015 21:04:50 +0000 (22:04 +0100)
Signed-off-by: Volker Lendecke <vl@samba.org>
Bug: https://bugzilla.samba.org/show_bug.cgi?id=11041

Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit cc983c9a6a92f3d127ec6461b15aed3fa90e6d30)
Reviewed-by: David Disseldorp <ddiss@samba.org>
source3/smbd/process.c

index d01bf39f08af90471b0051a908e5bbaf9a229145..9d845782ffec3098b1f08b0925c4b771a8215b72 100644 (file)
@@ -172,6 +172,7 @@ bool srv_send_smb(struct smbd_server_connection *sconn, char *buffer,
                        DEBUG(0, ("send_smb: SMB encryption failed "
                                "on outgoing packet! Error %s\n",
                                nt_errstr(status) ));
+                       ret = -1;
                        goto out;
                }
        }