1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/source3/librpc/rpc
Stefan Metzmacher b2e042ad96 s3:librpc/rpc: fix padding calculation in dcerpc_guess_sizes()
The padding needs to be relative to the payload start not to the pdu start.
We also need align the padding to DCERPC_AUTH_PAD_ALIGNMENT (16 bytes).

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11061

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2015-06-23 14:38:53 +02:00
..
dcerpc_ep.c s3:dcerpc_ep: make use of dcerpc_binding_set_abstract_syntax() 2014-02-13 11:54:16 +01:00
dcerpc_ep.h s3-rpc_server: Fix inteface typo. 2015-06-04 03:51:29 +02:00
dcerpc_helpers.c s3:librpc/rpc: fix padding calculation in dcerpc_guess_sizes() 2015-06-23 14:38:53 +02:00
dcerpc.h s3:librpc/rpc: fix padding calculation in dcerpc_guess_sizes() 2015-06-23 14:38:53 +02:00