b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 1 | --- a/jffsX-utils/mkfs.jffs2.c |
2 | +++ b/jffsX-utils/mkfs.jffs2.c | ||||
3 | @@ -428,7 +428,7 @@ static int interpret_table_entry(struct | ||||
4 | |||||
5 | if (sscanf (line, "%" SCANF_PREFIX "s %c %lo %lu %lu %lu %lu %lu %lu %lu", | ||||
6 | SCANF_STRING(name), &type, &mode, &uid, &gid, &major, &minor, | ||||
7 | - &start, &increment, &count) < 0) | ||||
8 | + &start, &increment, &count) < 10) | ||||
9 | { | ||||
10 | return 1; | ||||
11 | } |