summaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorGao Xiang <gaoxiang25@huawei.com>2019-10-09 18:05:54 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-10-11 18:36:58 +0200
commit4b08e2536b13bf80eb52c08b9243b014409f8f81 (patch)
tree3aba9b42f74d6d35385e89999d2a3f4e2e661f7d /lib/mpi/mpiutil.c
parent4c87d287c62a6d44f9afbe86911730b44e8a5946 (diff)
staging: erofs: detect potential multiref due to corrupted images
commit e12a0ce2fa69798194f3a8628baf6edfbd5c548f upstream. As reported by erofs-utils fuzzer, currently, multiref (ondisk deduplication) hasn't been supported for now, we should forbid it properly. Fixes: 3883a79abd02 ("staging: erofs: introduce VLE decompression support") Cc: <stable@vger.kernel.org> # 4.19+ Signed-off-by: Gao Xiang <gaoxiang25@huawei.com> Reviewed-by: Chao Yu <yuchao0@huawei.com> Link: https://lore.kernel.org/r/20190821140152.229648-1-gaoxiang25@huawei.com [ Gao Xiang: Since earlier kernels don't define EFSCORRUPTED, let's use EIO instead. ] Signed-off-by: Gao Xiang <gaoxiang25@huawei.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions