Re: [PATCH v2 3/4] fs/fshelp: Avoid possible NULL pointer deference

2025-05-20 Thread Daniel Kiper via Grub-devel
On Mon, May 19, 2025 at 09:03:17PM -0500, Andrew Hamilton wrote: > Avoid attempting to defererence a NULL pointer to call read_symlink when > the given filesystem does not provide a read_symlink function. This could > be triggered if the calling filesystem had a file marked as a symlink. > This app

[PATCH v2 3/4] fs/fshelp: Avoid possible NULL pointer deference

2025-05-19 Thread Andrew Hamilton
Avoid attempting to defererence a NULL pointer to call read_symlink when the given filesystem does not provide a read_symlink function. This could be triggered if the calling filesystem had a file marked as a symlink. This appears possible for HFS and was observed during fuzzing of NTFS. Signed-of