mirror of
https://github.com/samba-team/samba.git
synced 2025-02-03 13:47:25 +03:00
s3: libsmb: Add a missing return statement in the timeout case.
Obvious fix (needs a malicious server to recreate). Found by Robert Morris <rtm@lcs.mit.edu> BUG: https://bugzilla.samba.org/show_bug.cgi?id=15426 Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Wed Aug 23 09:29:51 UTC 2023 on atb-devel-224
This commit is contained in:
parent
1502ef29bf
commit
86f67f59ea
@ -202,6 +202,7 @@ static NTSTATUS do_connect(TALLOC_CTX *ctx,
|
||||
c->timeout,
|
||||
smbXcli_conn_remote_name(c->conn));
|
||||
cli_shutdown(c);
|
||||
return status;
|
||||
} else if (!NT_STATUS_IS_OK(status)) {
|
||||
d_printf("Protocol negotiation to server %s (for a protocol between %s and %s) failed: %s\n",
|
||||
smbXcli_conn_remote_name(c->conn),
|
||||
|
Loading…
x
Reference in New Issue
Block a user