Merge pull request #3015 from avkvl/issue-2765

fix issue 2765
This commit is contained in:
Christian Brauner 2019-05-28 16:45:36 +02:00 committed by GitHub
commit 0cfec4f757
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -422,8 +422,8 @@ static char *find_line(char *buf_start, char *buf_end, char *name,
if (strncmp(buf_start, name, strlen(name)))
*found = false;
*owner = true;
else
*owner = true;
buf_start = end_of_word + 1;
while ((buf_start < buf_end) && isblank(*buf_start))