]> git.ipfire.org Git - thirdparty/grub.git/commit
fs/hfs: Fix stack OOB write with grub_strcpy()
authorB Horn <b@horn.uk>
Sun, 12 May 2024 01:48:33 +0000 (02:48 +0100)
committerDaniel Kiper <daniel.kiper@oracle.com>
Thu, 16 Jan 2025 14:05:23 +0000 (15:05 +0100)
commit417547c10410b714e43f08f74137c24015f8f4c3
treeced57a5418a85f6793cb6b63fefe7610adfa0446
parentc1a291b01f4f1dcd6a22b61f1c81a45a966d16ba
fs/hfs: Fix stack OOB write with grub_strcpy()

Replaced with grub_strlcpy().

Fixes: CVE-2024-45782
Fixes: CVE-2024-56737
Fixes: https://savannah.gnu.org/bugs/?66599
Reported-by: B Horn <b@horn.uk>
Signed-off-by: B Horn <b@horn.uk>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/fs/hfs.c