Re: [RFC][PATCH][bugfix] more checks for negative f_pos handling v4

From: KAMEZAWA Hiroyuki
Date: Thu Sep 17 2009 - 20:04:22 EST


On Thu, 17 Sep 2009 20:40:39 +0800
Wu Fengguang <fengguang.wu@xxxxxxxxx> wrote:

> > > if (pos + count < pos)
> > > return -EOVERFLOW;
> > > ...
> > > }
> > >
> > have to avoid pos == LONGLONGMAX case.
>
> Ah sorry, didn't know loff_t could be long long..
>
Thank you. I'll restart this after merge window.
(And maybe I had to CC fsdevel...)

Thanks,
-Kame

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/