]> git.ipfire.org Git - thirdparty/grub.git/commit
fs/iso9660: Incorrect check for entry boundary
authorLidong Chen <lidong.chen@oracle.com>
Fri, 20 Jan 2023 19:39:41 +0000 (19:39 +0000)
committerDaniel Kiper <daniel.kiper@oracle.com>
Thu, 2 Feb 2023 18:44:56 +0000 (19:44 +0100)
commit77f657dc9e67a1fd6b1941609a4ed798e99bcae2
treee45b180ce5d4e5c24b84cd205755ced4d4d21ae3
parentc44b1428c4c7d2bb01359fd885720af87e10b1b2
fs/iso9660: Incorrect check for entry boundary

An SL entry consists of the entry info and the component area.
The entry info should take up 5 bytes instead of sizeof(*entry).
The area after the first 5 bytes is the component area. It is
incorrect to use the sizeof(*entry) to check the entry boundary.

Signed-off-by: Lidong Chen <lidong.chen@oracle.com>
Reviewed-by: Thomas Schmitt <scdbackup@gmx.net>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/fs/iso9660.c