diff options
author | Stefan Metzmacher <metze@samba.org> | 2013-03-18 09:33:00 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2013-03-20 09:32:25 -0700 |
commit | 40c3db9b6a584a6c243fd02b12269d54e7425fea (patch) | |
tree | ce75696a6ae5c45fa4fba97fbfc1ce795d851951 /source3 | |
parent | 1111d46cc52e868cf4894909b71f1574196e2887 (diff) | |
download | samba-40c3db9b6a584a6c243fd02b12269d54e7425fea.tar.gz samba-40c3db9b6a584a6c243fd02b12269d54e7425fea.tar.bz2 samba-40c3db9b6a584a6c243fd02b12269d54e7425fea.zip |
s3:libsmb: let cli_read_andx_create() accept any length
It's up to the server to decide the allowed length.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3')
-rw-r--r-- | source3/libsmb/clireadwrite.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/source3/libsmb/clireadwrite.c b/source3/libsmb/clireadwrite.c index 75c1683427..47e7f1bfd4 100644 --- a/source3/libsmb/clireadwrite.c +++ b/source3/libsmb/clireadwrite.c @@ -132,13 +132,6 @@ struct tevent_req *cli_read_andx_create(TALLOC_CTX *mem_ctx, struct cli_read_andx_state *state; uint8_t wct = 10; - if (size > cli_read_max_bufsize(cli)) { - DEBUG(0, ("cli_read_andx_send got size=%d, can only handle " - "size=%d\n", (int)size, - (int)cli_read_max_bufsize(cli))); - return NULL; - } - req = tevent_req_create(mem_ctx, &state, struct cli_read_andx_state); if (req == NULL) { return NULL; |