diff options
author | ache <ache@FreeBSD.org> | 2005-09-14 20:35:46 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2005-09-14 20:35:46 +0000 |
commit | 662afafc671db34e6c6e304b494c5b42661ca6fc (patch) | |
tree | a5a64b0d25ef7bb139f91395720b73e1d5dfe629 /usr.sbin | |
parent | 973ad4fc3582861f5955c3b1563573f33f92f24a (diff) | |
download | FreeBSD-src-662afafc671db34e6c6e304b494c5b42661ca6fc.zip FreeBSD-src-662afafc671db34e6c6e304b494c5b42661ca6fc.tar.gz |
Remove any hardcoded assumptions about malloc's way of allocating,
just use MAXPATHLEN. It prevents potential buffer overflow with other
malloc implementations.
(this change based on submitted patch)
PR: 86135
Submitted by: Trevor Blackwell <tlb@tlb.org>
Diffstat (limited to 'usr.sbin')
0 files changed, 0 insertions, 0 deletions