crtimebuf doesn't have the correct type or alignment for 64-bit platforms (see examples from the getattrlist man page).
This causes the timespec structure to be read incorrectly, and crashes when accessing extfs because localtime returns NULL in TimeToMacTime.
crtimebuf
doesn't have the correct type or alignment for 64-bit platforms (see examples from thegetattrlist
man page). This causes thetimespec
structure to be read incorrectly, and crashes when accessing extfs becauselocaltime
returnsNULL
inTimeToMacTime
.