[PATCH] staging: erofs: refuse to mount images with malformed volume name
chao at kernel.org
Sun Aug 18 13:17:06 UTC 2019
On 2019-8-18 18:28, Gao Xiang wrote:
> From: Gao Xiang <gaoxiang25 at huawei.com>
> As Richard reminder , A valid volume name should be
> ended in NIL terminator within the length of volume_name.
> Since this field currently isn't really used, let's fix
> it to avoid potential bugs in the future.
>  https://lore.kernel.org/r/1133002215.69049.1566119033047.JavaMail.firstname.lastname@example.org/
> Reported-by: Richard Weinberger <richard at nod.at>
> Signed-off-by: Gao Xiang <gaoxiang25 at huawei.com>
Reviewed-by: Chao Yu <yuchao0 at huawei.com>
More information about the devel