Messages in this thread |  | | From | Miguel Ojeda <> | Date | Sat, 1 Jun 2019 12:41:00 +0200 | Subject | Re: [PATCH] mm: Fail when offset == num in first check of vm_map_pages_zero() |
| |
On Wed, May 29, 2019 at 9:09 AM Souptick Joarder <jrdr.linux@gmail.com> wrote: > > On Wed, May 29, 2019 at 1:38 AM Miguel Ojeda > <miguel.ojeda.sandonis@gmail.com> wrote: > > > > If the user asks us for offset == num, we should already fail in the > > first check, i.e. the one testing for offsets beyond the object. > > > > At the moment, we are failing on the second test anyway, > > since count cannot be 0. Still, to agree with the comment of the first > > test, we should first there. > > I think, we need to cc linux-mm.
Cc'ing Andrew as well as Souptick suggested me.
Cheers, Miguel
|  |