mirror of
https://github.com/samba-team/samba.git
synced 2025-02-04 17:47:26 +03:00
Merge a fix from HEAD to 3_0
Volker (This used to be commit 6bc88d91e569541e4d4a2147e28439db96d02bd6)
This commit is contained in:
parent
97b200d422
commit
62ae6e36f0
@ -201,7 +201,10 @@ enum winbindd_result winbindd_wins_byname(struct winbindd_cli_state *state)
|
|||||||
}
|
}
|
||||||
if (i != 0) {
|
if (i != 0) {
|
||||||
/* Clear out the newline character */
|
/* Clear out the newline character */
|
||||||
response[strlen(response)-1] = ' ';
|
/* But only if there is something in there,
|
||||||
|
otherwise we clobber something in the stack */
|
||||||
|
if (strlen(response))
|
||||||
|
response[strlen(response)-1] = ' ';
|
||||||
}
|
}
|
||||||
fstrcat(response,addr);
|
fstrcat(response,addr);
|
||||||
fstrcat(response,"\t");
|
fstrcat(response,"\t");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user