Page MenuHomeFreeBSD

cd9660: dirmatch fails to unmatch when name is prefix for directory record
ClosedPublic

Authored by tsoome on Feb 16 2019, 6:12 PM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 24 2025, 11:28 AM
Unknown Object (File)
Nov 23 2025, 7:11 AM
Unknown Object (File)
Nov 22 2025, 12:16 PM
Unknown Object (File)
Nov 20 2025, 10:53 PM
Unknown Object (File)
Nov 20 2025, 10:47 PM
Unknown Object (File)
Nov 20 2025, 10:47 PM
Unknown Object (File)
Nov 20 2025, 10:40 PM
Unknown Object (File)
Nov 19 2025, 4:11 PM
Subscribers

Details

Summary

Loader does fail to properly match the file name in directory record and
does open file based on prefix match.

For fix, we check the name lengths first.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

allanjude added a subscriber: allanjude.

Seems like a good fix, and even an optimization.

This revision is now accepted and ready to land.Feb 16 2019, 7:19 PM
This revision was automatically updated to reflect the committed changes.