The Samba-Bugzilla – Attachment 2739 Details for
Bug 4683
Policy not found and crash smbd in api_lsa_lookup_sids()
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch: fix api_lsa_lookup_sids() crashing
samba-3.0.25a-lsa_lookup_sids.patch (text/plain), 958 bytes, created by
SATOH Fumiyasu
on 2007-06-08 12:24:08 UTC
(
hide
)
Description:
Proposed patch: fix api_lsa_lookup_sids() crashing
Filename:
MIME Type:
Creator:
SATOH Fumiyasu
Created:
2007-06-08 12:24:08 UTC
Size:
958 bytes
patch
obsolete
>--- samba-3.0.25a/source/rpc_server/srv_lsa_nt.c.dist 2007-05-11 07:09:35.000000000 +0900 >+++ samba-3.0.25a/source/rpc_server/srv_lsa_nt.c 2007-06-09 01:11:34.374191983 +0900 >@@ -949,6 +949,9 @@ NTSTATUS _lsa_lookup_sids(pipes_struct * > &ref, > &names, > &mapped_count); >+ if (!NT_STATUS_IS_OK(r_u->status)) { >+ return r_u->status; >+ } > > /* Convert from LSA_TRANS_NAME_ENUM2 to LSA_TRANS_NAME_ENUM */ > >--- samba-3.0.25a/source/rpc_server/srv_lsa.c.dist 2006-04-20 11:29:27.000000000 +0900 >+++ samba-3.0.25a/source/rpc_server/srv_lsa.c 2007-06-09 01:16:47.772051509 +0900 >@@ -172,6 +172,10 @@ static BOOL api_lsa_lookup_sids(pipes_st > } > > r_u.status = _lsa_lookup_sids(p, &q_u, &r_u); >+ if (!NT_STATUS_IS_OK(r_u.status)) { >+ DEBUG(0,("api_lsa_lookup_sids: Failed to lookup SIDs\n")); >+ return False; >+ } > > if(!lsa_io_r_lookup_sids("", &r_u, rdata, 0)) { > DEBUG(0,("api_lsa_lookup_sids: Failed to marshall LSA_R_LOOKUP_SIDS.\n"));
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 4683
:
2735
|
2736
|
2737
|
2738
|
2739
|
2740
|
2741
|
2742