mirror of
https://github.com/samba-team/samba.git
synced 2025-11-23 20:23:50 +03:00
r11326: Fix alignment in getdc response
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
0603e1c845
commit
9741818d2c
@@ -557,6 +557,9 @@ BOOL net_io_r_getdcname(const char *desc, NET_R_GETDCNAME *r_t, prs_struct *ps,
|
||||
r_t->ptr_dcname, ps, depth))
|
||||
return False;
|
||||
|
||||
if (!prs_align(ps))
|
||||
return False;
|
||||
|
||||
if (!prs_ntstatus("status", ps, depth, &r_t->status))
|
||||
return False;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user