The Samba-Bugzilla – Attachment 16071 Details for
Bug 14417
CVE-2020-14303 [SECURITY] Endless loop from empty UDP packet sent to AD DC nbt_server
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Alternative patch for master
bug-14417-master-alt.patch (text/plain), 905 bytes, created by
Gary Lockyer
on 2020-06-24 02:32:53 UTC
(
hide
)
Description:
Alternative patch for master
Filename:
MIME Type:
Creator:
Gary Lockyer
Created:
2020-06-24 02:32:53 UTC
Size:
905 bytes
patch
obsolete
>From a8ae53a714fde9b65bfd1bb6a41fccd88ea0164e Mon Sep 17 00:00:00 2001 >From: Gary Lockyer <gary@catalyst.net.nz> >Date: Wed, 24 Jun 2020 14:27:08 +1200 >Subject: [PATCH] s4 nbt: fix busy loop on empty UDP packet > >An empty UDP packet put the nbt server into a busy loop that consuming >100% of a cpu. > >BUG: https://bugzilla.samba.org/show_bug.cgi?id=14417 > >Signed-off-by: Gary Lockyer <gary@catalyst.net.nz> >--- > libcli/nbt/nbtsocket.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/libcli/nbt/nbtsocket.c b/libcli/nbt/nbtsocket.c >index f682b233fd1..23fbbac00ee 100644 >--- a/libcli/nbt/nbtsocket.c >+++ b/libcli/nbt/nbtsocket.c >@@ -168,7 +168,7 @@ static void nbt_name_socket_recv(struct nbt_name_socket *nbtsock) > } > > blob = data_blob_talloc(tmp_ctx, NULL, dsize); >- if (blob.data == NULL) { >+ if (blob.data == NULL && dsize != 0) { > talloc_free(tmp_ctx); > return; > } >-- >2.17.1 >
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 14417
:
16070
|
16071
|
16072
|
16073
|
16075
|
16076
|
16077
|
16078
|
16079
|
16080
|
16081
|
16082
|
16083
|
16084
|
16085
|
16086
|
16087
|
16092