diff options
Diffstat (limited to 'source4/client')
-rw-r--r-- | source4/client/client.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/client/client.c b/source4/client/client.c index d7adc41ca1..1cd0e5d063 100644 --- a/source4/client/client.c +++ b/source4/client/client.c @@ -2901,7 +2901,8 @@ static char **remote_completion(const char *text, int len) info.samelen = len; info.text = text; info.len = len; - + info.count = 0; + if (len >= PATH_MAX) return(NULL); |