s4:librpc/rpc: let dcerpc_ship_next_request() use a sig_size for a padded payload
commitfc249d542fcb8d043ae72eb7963d3a85eb79253a
authorStefan Metzmacher <metze@samba.org>
Fri, 19 Jun 2015 20:35:44 +0000 (19 22:35 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 23 Jun 2015 12:38:53 +0000 (23 14:38 +0200)
tree6df7823e1b37bb7ffb5b510d3792c8b80d0f3a42
parentef801bae95403e96042f5d8c87085bce21436013
s4:librpc/rpc: let dcerpc_ship_next_request() use a sig_size for a padded payload

The sig_size could differ depending on the aligment/padding.
So should use the same alignment as we use for the payload.

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>
source4/librpc/rpc/dcerpc.c