Contents of Andreas_Schneider patch to srv_pipe.c to fix the regression verifying the security trailer, taken from https://git.samba.org/?p=asn/samba.git;a=commitdiff;h=82fa625540abf8b8ec23d43c41e2ca906a9928a5;hp=ea6f2386611d0a4edd65962a59b3448be976c1bb
--- a/source3/rpc_server/srv_pipe.c +++ b/source3/rpc_server/srv_pipe.c @@ -1552,7 +1552,6 @@ static bool srv_pipe_check_verification_trailer(struct pipes_struct *p, { TALLOC_CTX *frame = talloc_stackframe(); struct dcerpc_sec_verification_trailer *vt = NULL; - const uint32_t bitmask1 = 0; const struct dcerpc_sec_vt_pcontext pcontext = { .abstract_syntax = pipe_fns->syntax, .transfer_syntax = ndr_transfer_syntax, @@ -1573,7 +1572,7 @@ static bool srv_pipe_check_verification_trailer(struct pipes_struct *p, goto done; }
- ret = dcerpc_sec_verification_trailer_check(vt, &bitmask1, + ret = dcerpc_sec_verification_trailer_check(vt, NULL, &pcontext, &header2); done: TALLOC_FREE(frame);
Contents of Andreas_Schneider patch to srv_pipe.c to fix the regression verifying the security trailer, taken from https:/ /git.samba. org/?p= asn/samba. git;a=commitdif f;h=82fa625540a bf8b8ec23d43c41 e2ca906a9928a5; hp=ea6f2386611d 0a4edd65962a59b 3448be976c1bb
--- a/source3/ rpc_server/ srv_pipe. c rpc_server/ srv_pipe. c check_verificat ion_trailer( struct pipes_struct *p, stackframe( ); sec_verificatio n_trailer *vt = NULL; sec_vt_ pcontext pcontext = {
.abstract_ syntax = pipe_fns->syntax,
.transfer_ syntax = ndr_transfer_ syntax, check_verificat ion_trailer( struct pipes_struct *p,
goto done;
+++ b/source3/
@@ -1552,7 +1552,6 @@ static bool srv_pipe_
{
TALLOC_CTX *frame = talloc_
struct dcerpc_
- const uint32_t bitmask1 = 0;
const struct dcerpc_
@@ -1573,7 +1572,7 @@ static bool srv_pipe_
}
- ret = dcerpc_ sec_verificatio n_trailer_ check(vt, &bitmask1, sec_verificatio n_trailer_ check(vt, NULL,
&pcontext, &header2);
TALLOC_ FREE(frame) ;
+ ret = dcerpc_
done: