Fixed overlapping calls to strlcpy

This commit is contained in:
2014-07-31 16:51:42 +02:00
parent c9717d4c6d
commit 7aa5378983
+1 -1
View File
@@ -12080,7 +12080,7 @@ void load_config_section(char *section, char **buffer, char *error)
while (*p == ' ' || *p == '\t' || *p == '\n' || *p == '\r')
p++;
}
strlcpy(*buffer, p, length);
memmove(*buffer, p, length);
if ((p = (char *) find_next_section(*buffer + 1)) != NULL) {
*p = 0;