mirror of
https://github.com/opnsense/src.git
synced 2026-03-17 16:14:58 -04:00
makefs with -t cd9660 -o rockridge against directories with deep structure creates a corrupted cd9660 image. http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=44114 Fix NetBSD PR bin/45217: makefs creates ISO9660 images that violate the ECMA-119 (ISO9660) specification. This is caused by erroneously writing 32 bytes with value 0x20 to the volume_set_id field and 128 bytes with value 0x20 to the the following 37-byte fields in the PVD: copyright_file_id, abstract_file_id, bibliographic_file_id This causes, among other unwanted results the reserved4 field to be overwritten with the value 0x20. To comply with the specification, this field muse be zero. As a result, all FreeBSD distribution images created with makefs have not been 100% valid ISO9660 files. http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=45217 Reviewed by: kientzle Approved by: re (kib) Obtained from: NetBSD MFC after: 3 days |
||
|---|---|---|
| .. | ||
| cd9660 | ||
| compat | ||
| ffs | ||
| cd9660.c | ||
| cd9660.h | ||
| ffs.c | ||
| ffs.h | ||
| getid.c | ||
| Makefile | ||
| makefs.8 | ||
| makefs.c | ||
| makefs.h | ||
| mtree.c | ||
| walk.c | ||