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.

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
Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 22529
Build 21672: arc lint + arc unit

Event Timeline

tsoome created this revision.Feb 16 2019, 6:12 PM
allanjude accepted this revision.Feb 16 2019, 7:19 PM
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.