The Samba-Bugzilla – Attachment 16548 Details for
Bug 14571
CVE-2021-20254 [SECURITY] Buffer overrun in sids_to_unixids() [source3/passdb/lookup_sid.c]
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for 4.12/debian9 failure
patch.txt (text/plain), 955 bytes, created by
Volker Lendecke
on 2021-03-15 09:21:52 UTC
(
hide
)
Description:
patch for 4.12/debian9 failure
Filename:
MIME Type:
Creator:
Volker Lendecke
Created:
2021-03-15 09:21:52 UTC
Size:
955 bytes
patch
obsolete
>From 44ed678b18836e44e8626f86f888c1240e839c1f Mon Sep 17 00:00:00 2001 >From: Volker Lendecke <vl@samba.org> >Date: Mon, 15 Mar 2021 10:17:03 +0100 >Subject: [PATCH] fix > >--- > source3/passdb/lookup_sid.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > >diff --git a/source3/passdb/lookup_sid.c b/source3/passdb/lookup_sid.c >index 4b3aa7e435d..c49097ce385 100644 >--- a/source3/passdb/lookup_sid.c >+++ b/source3/passdb/lookup_sid.c >@@ -1314,12 +1314,11 @@ bool sids_to_unixids(const struct dom_sid *sids, uint32_t num_sids, > */ > > wbc_ids_size = num_not_cached; >- wbc_ids = talloc_array(talloc_tos(), struct wbcUnixId, wbc_ids_size); >+ wbc_ids = talloc_zero_array(talloc_tos(), struct wbcUnixId, wbc_ids_size); > if (wbc_ids == NULL) { > goto fail; > } > for (i=0; i<wbc_ids_size; i++) { >- wbc_ids[i].type = WBC_ID_TYPE_NOT_SPECIFIED; > wbc_ids[i].id.gid = (uint32_t)-1; > } > err = wbcSidsToUnixIds(wbc_sids, wbc_ids_size, wbc_ids); >-- >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 14571
:
16407
|
16410
|
16466
|
16467
|
16499
|
16505
|
16506
|
16507
|
16508
|
16509
|
16510
|
16511
|
16516
|
16517
|
16519
|
16520
|
16532
|
16533
|
16534
|
16535
|
16536
|
16537
|
16538
|
16539
|
16542
|
16543
|
16544
|
16545
|
16546
| 16548 |
16551
|
16553
|
16595