The Samba-Bugzilla – Attachment 8054 Details for
Bug 9254
DsExecuteKCC returns wrong error code if taskid != 0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch to fix the problem
0005-kcc-return-invalid-parameter-if-the-taskId-is-not-0.patch (text/plain), 972 bytes, created by
Matthieu Patou
on 2012-10-13 06:53:27 UTC
(
hide
)
Description:
Proposed patch to fix the problem
Filename:
MIME Type:
Creator:
Matthieu Patou
Created:
2012-10-13 06:53:27 UTC
Size:
972 bytes
patch
obsolete
>From 303ef62b29227a53199f870c18ea2278853e1ddc Mon Sep 17 00:00:00 2001 >From: Matthieu Patou <mat@matws.net> >Date: Tue, 25 Sep 2012 13:27:04 -0700 >Subject: [PATCH 05/20] kcc: return invalid parameter if the taskId is not 0 > >--- > source4/rpc_server/drsuapi/dcesrv_drsuapi.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/source4/rpc_server/drsuapi/dcesrv_drsuapi.c b/source4/rpc_server/drsuapi/dcesrv_drsuapi.c >index 1f0ea9c..e71a1b1 100644 >--- a/source4/rpc_server/drsuapi/dcesrv_drsuapi.c >+++ b/source4/rpc_server/drsuapi/dcesrv_drsuapi.c >@@ -810,7 +810,9 @@ static WERROR dcesrv_drsuapi_DsExecuteKCC(struct dcesrv_call_state *dce_call, TA > if (!W_ERROR_IS_OK(status)) { > return status; > } >- >+ if (r->in.req->ctr1.taskID != 0) { >+ return WERR_INVALID_PARAM; >+ } > dcesrv_irpc_forward_rpc_call(dce_call, mem_ctx, r, NDR_DRSUAPI_DSEXECUTEKCC, > &ndr_table_drsuapi, "kccsrv", "DsExecuteKCC", > IRPC_CALL_TIMEOUT); >-- >1.7.9.5 >
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
Flags:
abartlet
:
review+
metze
:
review+
kai
:
review+
mat
:
review?
(
jra
)
Actions:
View
Attachments on
bug 9254
: 8054