Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix potential buffer underflow and inefficient copy using fnmatch.
If length was zero we could check the -1 index. A nul was always added because we only used the length of the string, not the buffer (i.e. off by one). Also remove a check for a negative number from an unsigned number.
- Loading branch information