|
Bugzilla – Full Text Bug Listing |
| Summary: | Including file beginning with an "i" removed first 3 characters | ||
|---|---|---|---|
| Product: | Sudo | Reporter: | Robin James <robin.james+sudo> |
| Component: | Sudo | Assignee: | Todd C. Miller <Todd.Miller> |
| Status: | RESOLVED FIXED | ||
| Severity: | low | ||
| Priority: | low | ||
| Version: | 1.8.19 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Attachments: | Fix for including files that start with the letter 'i' | ||
|
Description
Robin James
2017-02-13 13:18:37 MST
Nice catch, I'm verifying a fix now. Created attachment 488 [details]
Fix for including files that start with the letter 'i'
I've committed the fix: https://www.sudo.ws/repos/sudo/rev/4d9691a43867 Hi Todd, Yes, strange that this hasn't been reported before as I can't imagine I'm the first to encounter it. Anyway, I've downloaded, compiled and tested the patch and I can confirm that the issue is resolved for me. Keep up the good work, Robin Also, a workaround is to use a fully-qualified path, e.g. #include /etc/itest Fixed in sudo 1.8.20, available now. |