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)
Sun, Dec 8, 8:28 PM
Unknown Object (File)
Nov 23 2024, 9:24 PM
Unknown Object (File)
Oct 17 2024, 9:18 AM
Unknown Object (File)
Oct 7 2024, 12:33 AM
Unknown Object (File)
Oct 6 2024, 10:31 PM
Unknown Object (File)
Oct 3 2024, 10:49 PM
Unknown Object (File)
Oct 3 2024, 7:02 PM
Unknown Object (File)
Oct 3 2024, 1:12 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.