grub-devel
[Top][All Lists]
Advanced

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

GRUB coverity fixes for CIDs 314020 and 314023


From: Jagannathan Raman
Subject: GRUB coverity fixes for CIDs 314020 and 314023
Date: Thu, 2 Jun 2022 15:18:25 +0000

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.

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]