]> git.baikalelectronics.ru Git - kernel.git/commit
staging: erofs: fix integer overflow on 32-bit platform
authorGao Xiang <gaoxiang25@huawei.com>
Tue, 21 Aug 2018 14:49:35 +0000 (22:49 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Aug 2018 17:46:13 +0000 (19:46 +0200)
commit6fd1f485fd76e8032206b759ace61878fedb113f
tree52d94196e12bec6dd223e45454e541dcb06a4685
parentf83e6a7cba2dc3bd5f695739943aad363088d104
staging: erofs: fix integer overflow on 32-bit platform

This patch fixes integer overflow on multiplication
of 32-bit `lcn' in z_erofs_map_blocks_iter.

Signed-off-by: Gao Xiang <gaoxiang25@huawei.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/erofs/unzip_vle.c