The Samba-Bugzilla – Attachment 16370 Details for
Bug 14600
infinite loop in tldap filter parsing
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
simple fix
0001-tldap-avoid-infinite-loop-when-filter-contains.patch (text/plain), 760 bytes, created by
Douglas Bagnall
on 2020-12-19 23:31:52 UTC
(
hide
)
Description:
simple fix
Filename:
MIME Type:
Creator:
Douglas Bagnall
Created:
2020-12-19 23:31:52 UTC
Size:
760 bytes
patch
obsolete
>From 15f68eeb7ea2f50a4a08ed9bf361567ba879fde6 Mon Sep 17 00:00:00 2001 >From: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> >Date: Sun, 20 Dec 2020 12:17:56 +1300 >Subject: [PATCH 1/2] tldap: avoid infinite loop when filter contains "\)" > >BUG: https://bugzilla.samba.org/show_bug.cgi?id=14600 > >Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> >--- > source3/lib/tldap.c | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/source3/lib/tldap.c b/source3/lib/tldap.c >index e008b04e5e6..082a3e0b481 100644 >--- a/source3/lib/tldap.c >+++ b/source3/lib/tldap.c >@@ -1238,6 +1238,7 @@ static char *tldap_get_val(TALLOC_CTX *memctx, > while (*s) { > s = strchr(s, ')'); > if (s && (*(s - 1) == '\\')) { >+ s++; > continue; > } > break; >-- >2.20.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 14600
: 16370 |
16371
|
17283