2
0

100-sscanf_fix.patch 366 B

1234567891011
  1. --- a/jffsX-utils/mkfs.jffs2.c
  2. +++ b/jffsX-utils/mkfs.jffs2.c
  3. @@ -427,7 +427,7 @@ static int interpret_table_entry(struct
  4. if (sscanf (line, "%" SCANF_PREFIX "s %c %lo %lu %lu %lu %lu %lu %lu %lu",
  5. SCANF_STRING(name), &type, &mode, &uid, &gid, &major, &minor,
  6. - &start, &increment, &count) < 0)
  7. + &start, &increment, &count) < 10)
  8. {
  9. return 1;
  10. }