this patch fixes platform where 32 and 64 bit apps can run at the same time
fixed in and tested in Fedora: https://bugzilla.redhat.com/show_bug.cgi?id=253036
}
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 %d)\n",
+ *(uint32 *)(&state->request), sizeof(state->request)));
state->finished = True;
return;
}
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;