diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2003-05-13 16:55:23 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2003-05-13 16:55:23 +0000 |
commit | 6735c1febb9177dbe161d4eac757ba9f0caf3080 (patch) | |
tree | 1be8992722e500492e2be42de31f7fa877541e68 /usr.bin/tput | |
parent | 09633e9f98f50e906a012742b2b61b29ecdd406c (diff) |
Use dp->d_namlen instead of strlen(dp->d_name) and check for
dp->d_namlen == 0. Shouldn't be possible but the check prevents
any possibilty of using an array index of -1.
Diffstat (limited to 'usr.bin/tput')
0 files changed, 0 insertions, 0 deletions