problem been there for months: reg_r_info not aligning after string buffer.
authorLuke Leighton <lkcl@samba.org>
Thu, 18 Feb 1999 18:50:44 +0000 (18:50 +0000)
committerLuke Leighton <lkcl@samba.org>
Thu, 18 Feb 1999 18:50:44 +0000 (18:50 +0000)
(This used to be commit 66e2787ab7db72fb654b995280b294738e77e50a)

source3/rpc_parse/parse_reg.c

index ecec4985284ed7a6d2239e57184b90bfff8294a6..4f9a9350bd035190faa95c263a67e9e7e6971f71 100644 (file)
@@ -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));