grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GRUB coverity fixes for CIDs 314020 and 314023


From: Darren Kenny
Subject: Re: GRUB coverity fixes for CIDs 314020 and 314023
Date: Fri, 03 Jun 2022 14:12:00 +0100

On Thursday, 2022-06-02 at 15:18:25 UTC, Jagannathan Raman wrote:
> Hi,
>
> This series addresses a couple of untrusted loop bounds flagged by
> Coverity in "grub-core/fs/zfs". Both the bugs addressed in this series
> are of the same type - caused by downcast of pointer from a strict type
> to a less strict type.
>
> Please share your thoughts on this.
>

These changes look good to me, thanks for looking at them Jag.

Reviewed-by: Darren Kenny <darren.kenny@oracle.com>

Thanks,

Darren.

> Thank you!
> --
> Jag
>
> Jagannathan Raman (2):
>   fs/zfs/zfs.c: make_mdn() - avoid pointer downcasting
>   fs/zfs/zfs.c: zfs_mount() - avoid pointer downcasting
>
>  grub-core/fs/zfs/zfs.c | 16 +++++++---------
>  1 file changed, 7 insertions(+), 9 deletions(-)
>
> -- 
> 2.31.1



reply via email to

[Prev in Thread] Current Thread [Next in Thread]