Message ID | 20101106162426.GA14361@merkur.ravnborg.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/scripts/basic/fixdep.c b/scripts/basic/fixdep.c index ea26b23..f472ada 100644 --- a/scripts/basic/fixdep.c +++ b/scripts/basic/fixdep.c @@ -318,7 +318,7 @@ static void parse_dep_file(void *map, size_t len) while (m < end && (*m == ' ' || *m == '\\' || *m == '\n')) m++; p = m; - while (p < end && *p != ' ') p++; + while (p <= end && *p != ' ') p++; if (p == end) { do p--; while (!isalnum(*p)); p++;