Konstantin Belousov
63cdcaaead
Properly handle possible underflow in vm_fault_prefault().
...
In vm_fault_prefault(), if backward count causes underflow in
calculation of
starta = addra - backward * PAGE_SIZE;
then starta must be clipped to entry->start, instead of zero.
Clipping to zero allowed mapping outside of the map entries address
ranges, in particular, map at zero.
Submitted by: Yanko Yankulov <yanko.yankulov@gmail.com>
Reviewed by: alc
MFC after: 1 week
2017-02-24 08:09:16 +00:00
..
2016-12-01 17:26:37 +00:00
2016-12-14 23:36:32 +00:00
2017-02-12 21:05:44 +00:00
2016-02-09 20:22:35 +00:00
2016-12-08 11:35:53 +00:00
2016-09-10 16:49:25 +00:00
2017-02-12 21:05:44 +00:00
2017-01-03 00:05:44 +00:00
2017-01-03 00:05:44 +00:00
2017-01-02 16:50:52 +00:00
2016-06-01 22:31:35 +00:00
2016-02-03 22:02:36 +00:00
2016-07-07 18:37:12 +00:00
2016-07-06 14:09:49 +00:00
2016-12-30 06:26:17 +00:00
2015-07-11 15:21:37 +00:00
2017-02-13 09:04:38 +00:00
2017-02-24 08:09:16 +00:00
2016-08-14 22:00:45 +00:00
2017-01-05 03:13:45 +00:00
2017-01-05 01:44:12 +00:00
2017-01-05 01:44:12 +00:00
2017-01-01 18:49:46 +00:00
2016-07-07 20:58:16 +00:00
2016-12-26 19:29:04 +00:00
2017-02-13 09:04:38 +00:00
2017-01-30 18:51:43 +00:00
2017-02-12 21:05:44 +00:00
2017-02-04 05:23:10 +00:00
2017-01-04 22:27:19 +00:00
2017-02-14 13:54:05 +00:00
2016-05-27 19:15:45 +00:00
2017-01-04 22:27:19 +00:00
2016-12-08 11:26:11 +00:00
2015-09-11 03:00:20 +00:00
2017-02-02 17:44:55 +00:00
2016-09-03 20:38:13 +00:00
2016-12-08 04:29:29 +00:00
2016-12-08 04:29:29 +00:00
2016-12-28 18:32:13 +00:00
2016-12-28 18:32:13 +00:00
2015-06-10 10:48:12 +00:00
2016-05-20 17:57:47 +00:00
2017-01-12 20:26:02 +00:00
2015-12-16 21:30:45 +00:00