Re: [SECURITY PATCH 05/28] malloc: Use overflow checking primitives where we do complex allocations

2021-09-10 Thread Glenn Washburn
On Wed, 29 Jul 2020 19:00:18 +0200 Daniel Kiper wrote: > From: Peter Jones > > This attempts to fix the places where we do the following where > arithmetic_expr may include unvalidated data: > > X = grub_malloc(arithmetic_expr); > > It accomplishes this by doing the arithmetic ahead of

[PATCH] udf: Fix regression which is preventing symlink access

2021-09-10 Thread Glenn Washburn
This code was broken by commit 3f05d693 ("malloc: Use overflow checking primitives where we do complex allocations"), which added overflow checking in many areas. The problem here is that the changes update the local variable sz, which was already in use and which was not updated before the

Re: [ANNOUNCEMENT] Linux Plumbers Conference - Systems Boot and Security Microconference

2021-09-10 Thread Daniel Kiper
Hey, On Mon, Aug 02, 2021 at 04:55:50PM +0200, Daniel Kiper wrote: > Hi all, > > I have great pleasure of informing you that the call for proposals [1] > is open for Systems Boot and Security Microconference [2][3] which is > a part of Linux Plumbers Conference [4]. It will be a virtual event >

Re: [PATCH v2] kern/efi: Adding efi-watchdog command

2021-09-10 Thread Erwan Velu
Thanks for your review, I'll rework my patch according to your comments. I just kept the open points in this thread. Le 09/09/2021 à 17:46, Daniel Kiper a écrit : +static grub_err_t grub_efi_set_watchdog_timer(unsigned long timeout) Please use grub_efi_uintn_t instead of unsigned long.

Re: [PATCH] i386-pc: build btrfs zstd support into separate module

2021-09-10 Thread Michael Chang via Grub-devel
On Wed, Sep 08, 2021 at 09:37:52PM +0200, Daniel Kiper wrote: > On Fri, Sep 03, 2021 at 09:21:39AM +0800, Michael Chang via Grub-devel wrote: > > On Thu, Sep 02, 2021 at 02:12:52PM +0200, Daniel Kiper wrote: > > > On Thu, Sep 02, 2021 at 01:48:30PM +0800, Michael Chang via Grub-devel > > > wrote:

[PATCH] fs/ext2.c: fix handling of missing sparse extent leafs

2021-09-10 Thread Krzysztof Nowicki
When a file on ext4 is stored as sparse the data belonging to zero-filled blocks is not written to storage and the extent map is missing entries for these blocks. Such case can happen both for depth 0 extents (leafs) as well as higher-level tables. Consider a scenario of a file which has a