On Mon, 2013-12-30 at 21:54 +0800, Wenliang Fan wrote:
> Check before entering into cycle and on every iteration.
> 
> The local variable 'pos' comes from userspace. If a large number was
> passed, there would be an integer overflow in the following line:
>         pos += n;
> 

Do you fix it by chance? Or do you implement something in NILFS2?

> Signed-off-by: Wenliang Fan <[email protected]>
> ---

Reviewed-by: Vyacheslav Dubeyko <[email protected]>

Thanks,
Vyacheslav Dubeyko.


--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to