ext4: fix potential integer overflow
authorInsu Yun <wuninsu@gmail.com>
Fri, 12 Feb 2016 06:15:59 +0000 (01:15 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 12 Feb 2016 06:15:59 +0000 (01:15 -0500)
commit46901760b46064964b41015d00c140c83aa05bcf
treeb4d82f27e6063a825c1f98fdb6a2f3c11d07d1be
parent802cf1f9f504e09f7118c9acc69ab3e825449e52
ext4: fix potential integer overflow

Since sizeof(ext_new_group_data) > sizeof(ext_new_flex_group_data),
integer overflow could be happened.
Therefore, need to fix integer overflow sanitization.

Cc: stable@vger.kernel.org
Signed-off-by: Insu Yun <wuninsu@gmail.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/resize.c