kib
2cfeb7bc13
In fsck_ffs pass1, prevent the inosused variable from wrapping.
...
The loop that scans the used inode map when soft updates is in use
assumes that the inosused variable is signed. However, ino_t is
unsigned, so the loop invariant is incorrect and the check for
inosused wrapping to < 0 can never be true.
Instead of checking for wrap after the fact just prevent it from
happening in the first place.
PR: 218592
Submitted by: Todd Miller <todd.miller@courtesan.com>
Reviewed by: mckusick
MFC after: 1 week
2017-04-14 15:22:00 +00:00
..
2016-02-09 20:19:31 +00:00
2017-03-04 11:33:01 +00:00
2017-02-28 23:42:47 +00:00
2017-03-04 11:33:01 +00:00
2017-03-22 13:53:21 +00:00
2016-10-02 23:19:05 +00:00
2017-02-28 23:42:47 +00:00
2016-02-09 20:19:31 +00:00
2016-02-09 20:19:31 +00:00
2016-02-09 20:19:31 +00:00
2017-03-04 11:33:01 +00:00
2017-03-24 13:46:26 +00:00
2017-03-08 23:58:10 +00:00
2017-03-30 18:20:04 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-03-04 11:33:01 +00:00
2017-03-04 11:33:01 +00:00
2017-03-04 11:33:01 +00:00
2017-04-14 00:22:28 +00:00
2017-04-14 15:22:00 +00:00
2017-03-04 11:33:01 +00:00
2017-03-04 11:33:01 +00:00
2017-02-15 19:50:26 +00:00
2017-03-04 11:33:01 +00:00
2017-04-05 18:31:26 +00:00
2017-03-04 11:33:01 +00:00
2017-03-04 11:33:01 +00:00
2017-03-04 11:33:01 +00:00
2017-03-04 11:33:01 +00:00
2017-02-04 06:12:48 +00:00
2017-03-31 22:05:10 +00:00
2017-03-04 11:33:01 +00:00
2017-03-14 02:10:37 +00:00
2017-04-03 03:07:48 +00:00
2017-03-04 11:33:01 +00:00
2016-04-19 04:52:13 +00:00
2017-02-18 18:57:29 +00:00
2017-03-10 19:13:38 +00:00
2016-02-09 20:19:31 +00:00
2017-03-04 11:33:01 +00:00
2017-03-02 14:50:01 +00:00
2017-02-19 16:08:58 +00:00
2016-09-16 04:28:31 +00:00
2017-02-28 23:42:47 +00:00
2017-04-12 19:23:41 +00:00
2017-04-07 15:39:41 +00:00
2017-03-23 02:57:08 +00:00
2017-03-04 11:33:01 +00:00
2017-04-03 18:50:04 +00:00
2017-04-13 22:05:24 +00:00
2017-03-04 11:33:01 +00:00
2017-03-04 11:33:01 +00:00
2017-03-04 11:33:01 +00:00
2016-09-16 04:28:31 +00:00
2016-10-05 20:42:35 +00:00
2017-03-04 11:33:01 +00:00
2016-08-30 18:01:26 +00:00
2017-03-04 16:59:55 +00:00
2017-02-28 23:42:47 +00:00
2016-10-05 20:45:21 +00:00
2017-03-28 20:34:02 +00:00
2017-03-04 11:33:01 +00:00
2017-03-04 11:33:01 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-03-04 11:33:01 +00:00
2016-12-06 15:49:39 +00:00
2017-03-19 15:49:51 +00:00
2016-05-01 02:24:05 +00:00
2017-03-04 11:33:01 +00:00
2017-04-14 00:14:40 +00:00
2017-03-21 22:00:52 +00:00
2017-02-28 23:42:47 +00:00
2017-03-04 11:33:01 +00:00
2017-04-12 20:20:04 +00:00
2016-10-03 00:40:20 +00:00
2017-04-13 14:44:17 +00:00
2017-02-28 23:42:47 +00:00
2017-03-04 11:33:01 +00:00
2017-03-14 12:39:19 +00:00
2017-02-28 23:42:47 +00:00
2016-05-04 23:20:53 +00:00
2017-02-28 23:42:47 +00:00
2017-03-04 11:33:01 +00:00
2016-11-13 00:11:23 +00:00
2016-12-10 16:20:39 +00:00