mirror of
https://github.com/samba-team/samba.git
synced 2025-01-15 23:24:37 +03:00
#ifdef'd out suggestion for tim on making the winbindd protocol more
robust.
This commit is contained in:
parent
b6745ccd33
commit
8952f8763e
@ -4,7 +4,7 @@
|
||||
|
||||
Winbind daemon for ntdom nss module
|
||||
|
||||
Copyright (C) Tim Potter 2000
|
||||
Copyright (C) by Tim Potter 2000, 2001
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@ -611,6 +611,18 @@ static void process_loop(int accept_sock)
|
||||
|
||||
client_read(state);
|
||||
|
||||
#if 0
|
||||
/* If we have the start of a
|
||||
* packet, then check the
|
||||
* length field to make sure
|
||||
* the client's not talking
|
||||
* Mock Swedish. */
|
||||
if (state->read_buf_len >= sizeof(int)
|
||||
&& *(int *) state->buf != sizeof(state->request)) {
|
||||
BORK_BORK_BORK();
|
||||
}
|
||||
#endif
|
||||
|
||||
/* A request packet might be
|
||||
complete */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user