From: Luke Leighton Date: Thu, 18 Feb 1999 18:50:44 +0000 (+0000) Subject: problem been there for months: reg_r_info not aligning after string buffer. X-Git-Tag: samba-4.0.0alpha6~801^2~20902 X-Git-Url: http://git.samba.org/?p=samba.git;a=commitdiff_plain;h=b52903aefe3ab0412402ee7cff319ab4737a1658;hp=894a8240414d751ca802b80ac08c4fd97dca50c2 problem been there for months: reg_r_info not aligning after string buffer. (This used to be commit 66e2787ab7db72fb654b995280b294738e77e50a) --- diff --git a/source3/rpc_parse/parse_reg.c b/source3/rpc_parse/parse_reg.c index ecec4985284..4f9a9350bd0 100644 --- a/source3/rpc_parse/parse_reg.c +++ b/source3/rpc_parse/parse_reg.c @@ -808,6 +808,7 @@ void reg_io_r_info(char *desc, REG_R_INFO *r_r, prs_struct *ps, int depth) prs_uint32("ptr_type", ps, depth, &(r_r->ptr_type)); smb_io_buffer2("uni_type", &(r_r->uni_type), r_r->ptr_type, ps, depth); + prs_align(ps); prs_uint32("ptr2", ps, depth, &(r_r->ptr2));