loader cd9660_open should check for padding
I have "buggy" iso, where there is no /boot/loader.conf file, but loader
does not fail with file not found, but instead, it does open
While investigating I found:
the directory extent for /boot is 4096 bytes
the last file in directory, /boot/zfsloader, ends at extent offset 2048.
the next entry has length 0 (and in fact, all the directory entry is zero).
So we have hit the corner case with second half of the directory extent is
FreeBSD issue: https://reviews.freebsd.org/D8101
Updated by Electric Monk over 4 years ago
- Status changed from New to Closed
- % Done changed from 90 to 100
commit 472d57724271fcaa87b37d98016e1a239f0b6e84 Author: Toomas Soome <email@example.com> Date: 2016-10-07T16:29:48.000Z 7440 loader cd9660_open should check for padding Reviewed by: Igor Kozhukhov <firstname.lastname@example.org> Reviewed by: Jörg Schilling <Joerg.Schilling@fokus.fraunhofer.de> Approved by: Robert Mustacchi <email@example.com>