Bug 4166
| Summary: | improper use of strchr()? | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | ahosey |
| Component: | chkconfig | Assignee: | Erik Troan <ewt> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.0 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 1999-08-23 20:04:42 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Fixed in chkconfig-1.0.7-2. Thanks for noticing. |
This is in chkconfig.c: while ((ent = readdir(dir))) { if (strchr(ent->d_name, '~') || strchr(ent->d_name, ',') || strchr(ent->d_name, '.')) continue; This causes chkconfig to omit any filename which has a dot in it anywhere! This is not good.