summaryrefslogtreecommitdiff
path: root/usr.bin/logger
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2003-05-13 16:55:23 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2003-05-13 16:55:23 +0000
commit6735c1febb9177dbe161d4eac757ba9f0caf3080 (patch)
tree1be8992722e500492e2be42de31f7fa877541e68 /usr.bin/logger
parent09633e9f98f50e906a012742b2b61b29ecdd406c (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/logger')
0 files changed, 0 insertions, 0 deletions