summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2005-09-14 20:35:46 +0000
committerache <ache@FreeBSD.org>2005-09-14 20:35:46 +0000
commit662afafc671db34e6c6e304b494c5b42661ca6fc (patch)
treea5a64b0d25ef7bb139f91395720b73e1d5dfe629 /usr.sbin
parent973ad4fc3582861f5955c3b1563573f33f92f24a (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud