Files
asvitkine 9107beb254 ExtFS: minimal Mac OS 9 crash and File Manager compatibility fixes
Fix Mac OS 9 NavigationLib crashes and Carbon/Toolbox File Manager failures on
the shared Unix volume with minimal targeted changes:

- Guard guest buffer bounds in PBGetVol (50-byte IOParam), PBGetFInfo/PBHGetFInfo
  and PBSetFInfo/PBHSetFInfo (80-byte FileParam/HFileParam), fs_get_vol_parms
  (NULL/oversized ioBuffer), and avoid clobbering input ioNamePtr when
  ioFDirIndex <= 0 (fixes NavigationLib / NavChooseFolder crashes).
- Wire kFSMOpenDF (reading ioDirID via kHFSMask in selectCode | ioTrap) and
  kFSMMakeFSSpec in ExtFSHFS.
- Fix fs_volume_mount 16-bit vRefNum read and populate ioVRefNum / ioVSigWord in
  fs_get_vol_info so volume matching succeeds.
- Remove errno == 0 -> noErr in errno2oserr() and retire deleted/missing FSItems
  so deleted or non-existent paths do not retain stale CNIDs.
- Pass 0666 mode and handle O_RDWR when creating APFS named resource forks, and
  avoid merging uninitialized stack bytes in set_finfo() when fxinfo is NULL.
2026-11-14 12:00:40 -05:00
..
2008-01-01 09:40:36 +00:00
2026-06-06 17:35:53 +09:00
2017-10-03 21:41:12 +02:00
2022-04-04 14:01:58 -04:00
2017-10-05 22:20:15 +02:00
2008-01-01 09:40:36 +00:00
2012-07-04 22:46:57 -04:00
2008-01-01 09:40:36 +00:00
2012-07-04 22:46:57 -04:00
2019-07-17 12:06:35 +09:00
2008-01-01 09:40:36 +00:00
2008-01-01 09:40:36 +00:00
2008-01-01 09:40:36 +00:00
2008-01-01 09:40:36 +00:00
2008-01-01 09:40:36 +00:00
2026-06-06 17:35:53 +09:00
2026-06-06 17:35:53 +09:00