This test is inside the else block for if (*oldname == '.'), so *oldname cannot be '.' here.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
This seems like the kind of thing Coverity should notice- any other lower-hanging fruit like this buried in Coverity results, by chance?
Comment Actions
Coverity has two reports against cd9660.c. (And as an aside, doesn't have a great user interface for finding issues in a specific file.)
- The buffer will be filled with ASCII character '0' instead of actual zero bytes. which someone (probably me?) set to ignore some time ago.
- In cd9660_convert_structure: Leak of memory or pointers to system resources (CWE-404)
No issues like this one.