HomeFreeBSD

makefs: avoid uninitialized memory in root directory date

Description

makefs: avoid uninitialized memory in root directory date

Move date setting into cd9660_populate_iso_dir_record so there is no
path that leaves it unset.

PR: 203531
Reported by: Thomas Schmitt <scdbackup@gmx.net>
Reviewed by: markj
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D39258

(cherry picked from commit 7bc4ccf3aea935dde8ffc3e7c287884e22f87646)

Details

Provenance
emasteAuthored on Apr 6 2023, 4:53 PM
Reviewer
markj
Differential Revision
D39258: makefs: emit NM records for all directory entries
Parents
rG67870816419a: makefs: remove CD9660MAXPATH #define
Branches
Unknown
Tags
Unknown