Re: [PATCH 1/1] fs/squashfs: zero out unused fields in fs_dirent

2021-05-27 Thread Tom Rini
On Mon, May 17, 2021 at 08:21:39AM +0200, Heinrich Schuchardt wrote: > When reading directories the UEFI sub-system must supply file attributes > and timestamps. These fields will have to be added to struct fs_dirent. > SquashFS should not fill these fields with random data. Ensure that they > are

Re: [PATCH 1/1] fs/squashfs: zero out unused fields in fs_dirent

2021-05-17 Thread Miquel Raynal
Hi Heinrich, Heinrich Schuchardt wrote on Mon, 17 May 2021 08:21:39 +0200: > When reading directories the UEFI sub-system must supply file attributes > and timestamps. These fields will have to be added to struct fs_dirent. > SquashFS should not fill these fields with random data. Ensure that th

[PATCH 1/1] fs/squashfs: zero out unused fields in fs_dirent

2021-05-16 Thread Heinrich Schuchardt
When reading directories the UEFI sub-system must supply file attributes and timestamps. These fields will have to be added to struct fs_dirent. SquashFS should not fill these fields with random data. Ensure that they are zeroed out. Signed-off-by: Heinrich Schuchardt --- fs/squashfs/sqfs.c | 2