1
0
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:
Andrew Tridgell 2003-03-12 21:01:25 +00:00
parent 15ae0c4ded
commit 00d89c3f7c

View File

@ -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 :