[Ocfs2-devel] [PATCH] ocfs2: fix shift left overflow

Andrew Morton akpm at linux-foundation.org
Tue Jul 28 13:51:37 PDT 2015


On Mon, 27 Jul 2015 11:39:16 +0800 Joseph Qi <joseph.qi at huawei.com> wrote:

> cluster pos is defined as u32, when calculate corresponding sector it
> should be converted to u64 first, otherwise it may overflow.

What are the runtime effects of this change?

Please always include this info when fixing bugs so that others can
work out which kernel version(s) should be patched.




More information about the Ocfs2-devel mailing list