summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-07-26 09:11:40 +0200
committerVolker Lendecke <vl@samba.org>2010-07-26 09:51:37 +0200
commit63d86757b463b89be98f9714deedbfb8c3c77b84 (patch)
tree911d935fb9fcc2229b7b1a8395ee2735c6043def
parent0ba4404f21c76f139ca6ea287385dc2eb4817c4e (diff)
downloadsamba-63d86757b463b89be98f9714deedbfb8c3c77b84.tar.gz
samba-63d86757b463b89be98f9714deedbfb8c3c77b84.tar.bz2
samba-63d86757b463b89be98f9714deedbfb8c3c77b84.zip
s3: cli_qpathinfo2 expects at least 68 bytes
-rw-r--r--source3/libsmb/clirap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/clirap.c b/source3/libsmb/clirap.c
index 2135859f68..c4b36486bb 100644
--- a/source3/libsmb/clirap.c
+++ b/source3/libsmb/clirap.c
@@ -814,7 +814,7 @@ bool cli_qpathinfo2(struct cli_state *cli, const char *fname,
return False;
}
- if (!rdata || data_len < 22) {
+ if (!rdata || data_len < 68) {
return False;
}