mirror of
https://github.com/samba-team/samba.git
synced 2025-01-19 10:03:58 +03:00
fixed a strcat noticed by metze
(This used to be commit db3ad0dbe0bca729f98ca5d5a698388fe086daf2)
This commit is contained in:
parent
15ae0c4ded
commit
00d89c3f7c
@ -3095,7 +3095,7 @@ BOOL lp_do_parameter(int snum, const char *pszParmName, const char *pszParmValue
|
||||
ZERO_STRUCT(vfskey);
|
||||
pstr_sprintf(vfskey, "%s:", pszParmName);
|
||||
slen = strlen(vfskey);
|
||||
safe_strcat(vfskey, sep+1, sizeof(pstring));
|
||||
pstrcat(vfskey, sep+1);
|
||||
trim_string(vfskey+slen, " ", " ");
|
||||
not_added = True;
|
||||
data = (snum < 0) ? Globals.param_opt :
|
||||
|
Loading…
x
Reference in New Issue
Block a user