The Samba-Bugzilla – Attachment 2338 Details for
Bug 4434
INTERNAL ERROR in smbd (signal 6)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
4434.diff (text/plain), 675 bytes, created by
Volker Lendecke
on 2007-03-16 08:12:30 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Volker Lendecke
Created:
2007-03-16 08:12:30 UTC
Size:
675 bytes
patch
obsolete
>--- source/passdb/lookup_sid.c.orig 2007-03-16 12:47:29.000000000 +0100 >+++ source/passdb/lookup_sid.c 2007-03-16 13:50:13.000000000 +0100 >@@ -381,12 +381,20 @@ > > if (!winbind_lookup_rids(tmp_ctx, domain_sid, num_rids, rids, > domain_name, &my_names, &my_types)) { >- for (i=0; i<num_rids; i++) { >+ *domain_name = ""; >+ for (i=0; i<num_rids; i++) { >+ names[i] = ""; > types[i] = SID_NAME_UNKNOWN; > } >+ TALLOC_FREE(tmp_ctx); > return True; > } > >+ if (!(*domain_name = talloc_strdup(mem_ctx, *domain_name))) { >+ TALLOC_FREE(tmp_ctx); >+ return False; >+ } >+ > /* > * winbind_lookup_rids allocates its own array. We've been given the > * array, so copy it over
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 4434
:
2316
|
2317
|
2323
|
2324
|
2325
|
2326
|
2328
|
2329
|
2330
|
2331
| 2338