s4:librpc/rpc: let dcerpc_ship_next_request() use a sig_size for a padded payload
commit18342a7cbb14c7fe2f451a3e1386deaf819f6f7a
authorStefan Metzmacher <metze@samba.org>
Fri, 19 Jun 2015 20:35:44 +0000 (19 22:35 +0200)
committerKarolin Seeger <kseeger@samba.org>
Sat, 11 Jul 2015 19:59:25 +0000 (11 21:59 +0200)
treeb3b105ff0bfed7285b3c87ae4cf8c7a734773c95
parentad94101f6415f274092d2ba8ab7146c431304d5d
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>
(cherry picked from commit fc249d542fcb8d043ae72eb7963d3a85eb79253a)
source4/librpc/rpc/dcerpc.c