smbd: Fix CID 1063259 Uninitialized scalar variable
authorVolker Lendecke <vl@samba.org>
Sun, 18 Aug 2013 20:35:32 +0000 (20:35 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Sun, 18 Aug 2013 23:08:29 +0000 (11:08 +1200)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/smbd/process.c

index 3fbfc37578037d620bdf17f83b41ccb62f544bb1..b8e01ba8aa7ffde3bf433f757bb5b337e824125a 100644 (file)
@@ -165,6 +165,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;
                }
        }