mirror of
https://github.com/samba-team/samba.git
synced 2025-02-05 21:57:51 +03:00
r11326: Fix alignment in getdc response
(This used to be commit 9741818d2c54240ef1f38762396828adceb92b2a)
This commit is contained in:
parent
b577787ee3
commit
354124efb7
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user