mirror of
https://github.com/samba-team/samba.git
synced 2025-08-04 08:22:08 +03:00
Merge a fix from HEAD to 3_0
Volker
(This used to be commit 6bc88d91e5
)
This commit is contained in:
@ -201,7 +201,10 @@ enum winbindd_result winbindd_wins_byname(struct winbindd_cli_state *state)
|
||||
}
|
||||
if (i != 0) {
|
||||
/* 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,"\t");
|
||||
|
Reference in New Issue
Block a user