mirror of
https://github.com/samba-team/samba.git
synced 2025-01-21 18:04:06 +03:00
s4-client: Make sure we have a valid count if we goto cleanup.
Found by Coverity. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Günther Deschner <gd@samba.org>
This commit is contained in:
parent
d55c6e7113
commit
34a18865d6
@ -2901,6 +2901,7 @@ 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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user