The Samba-Bugzilla – Attachment 17837 Details for
Bug 15306
Floating point exception (FPE) via cli_pull_send at source3/libsmb/clireadwrite.c
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
"raw" fix for master.
look (text/plain), 737 bytes, created by
Jeremy Allison
on 2023-03-21 16:44:19 UTC
(
hide
)
Description:
"raw" fix for master.
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2023-03-21 16:44:19 UTC
Size:
737 bytes
patch
obsolete
>diff --git a/libcli/smb/smbXcli_base.c b/libcli/smb/smbXcli_base.c >index aaf2d405a94..a2a551d0f79 100644 >--- a/libcli/smb/smbXcli_base.c >+++ b/libcli/smb/smbXcli_base.c >@@ -5128,6 +5128,17 @@ static void smbXcli_negprot_smb2_done(struct tevent_req *subreq) > conn->smb2.server.system_time = BVAL(body, 40); > conn->smb2.server.start_time = BVAL(body, 48); > >+ if (conn->smb2.server.max_trans_size == 0 || >+ conn->smb2.server.max_read_size == 0 || >+ conn->smb2.server.max_write_size == 0) { >+ /* >+ * We can't connect to servers we can't >+ * do any operations on. >+ */ >+ tevent_req_nterror(req, NT_STATUS_INVALID_NETWORK_RESPONSE); >+ return; >+ } >+ > security_offset = SVAL(body, 56); > security_length = SVAL(body, 58); >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 15306
:
17823
|
17824
|
17825
|
17836
|
17837
|
17838
|
17850
|
17851