mirror of
https://github.com/samba-team/samba.git
synced 2025-02-02 09:47:23 +03:00
Merge Tridge's fix for the winbind 32/64bit padding.
Guenther
This commit is contained in:
parent
9cb1937fe8
commit
36578b22f1
@ -326,7 +326,7 @@ struct winbindd_request {
|
||||
The size is the sizeof the union without the padding aligned on
|
||||
an 8 byte boundary. --jerry */
|
||||
|
||||
char padding[1560];
|
||||
char padding[1800];
|
||||
} data;
|
||||
union {
|
||||
SMB_TIME_T padding;
|
||||
|
@ -613,8 +613,8 @@ static void request_len_recv(void *private_data, bool success)
|
||||
}
|
||||
|
||||
if (*(uint32 *)(&state->request) != sizeof(state->request)) {
|
||||
DEBUG(0,("request_len_recv: Invalid request size received: %d\n",
|
||||
*(uint32 *)(&state->request)));
|
||||
DEBUG(0,("request_len_recv: Invalid request size received: %d (expected %u)\n",
|
||||
*(uint32_t *)(&state->request), (uint32_t)sizeof(state->request)));
|
||||
state->finished = True;
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user