[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] util/grub-mount: Check file path sanity
From: |
Daniel Kiper |
Subject: |
Re: [PATCH] util/grub-mount: Check file path sanity |
Date: |
Wed, 25 Oct 2023 14:14:38 +0200 |
User-agent: |
NeoMutt/20170113 (1.7.2) |
On Wed, Oct 25, 2023 at 11:54:57AM +0800, Qiumiao Zhang via Grub-devel wrote:
> In grub-mount.c, the function argp_parser() lacks a check on the sanity of the
> file path when parsing parameters. This results in a segmentation fault if a
> partition is mounted to a non-existent path.
>
> Signed-off-by: Qiumiao Zhang <zhangqiumiao1@huawei.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
Daniel