diff options
author | imp <imp@FreeBSD.org> | 2001-05-29 18:03:14 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2001-05-29 18:03:14 +0000 |
commit | 6d5c9e2a159911e48f405cbdbd6eaeb8fb1aa421 (patch) | |
tree | a7285d6ceab135cd35a2477ee8b4752f5ad7c3ad /usr.sbin | |
parent | 6709d5cb0cba6c2b7897b943a8a49cb42034ab88 (diff) | |
download | FreeBSD-src-6d5c9e2a159911e48f405cbdbd6eaeb8fb1aa421.zip FreeBSD-src-6d5c9e2a159911e48f405cbdbd6eaeb8fb1aa421.tar.gz |
Use PATH_MAX rather than MAXPATHLEN. Also fix a possible off by one
error caused by the -1 being on the wrong side of the comparison.
This would not cause an overflow, as near as I can tell, because we
truncate later anyway. We'd just fail to get a diagnostic for 1024
and 1025 byte file names.
Diffstat (limited to 'usr.sbin')
0 files changed, 0 insertions, 0 deletions