Bring in fix from FreeBSD/cperciva:
authorSimon Schubert <corecode@dragonflybsd.org>
Fri, 6 May 2005 11:52:02 +0000 (11:52 +0000)
committerSimon Schubert <corecode@dragonflybsd.org>
Fri, 6 May 2005 11:52:02 +0000 (11:52 +0000)
commit8573f096c9734ab6ec1d697e62d792a264cd2e44
treec3e4117926cae8dc379354623f089a2ae5a852f3
parentfb3d7cb162fd6e15b8ce497d2728770ce2ec6395
Bring in fix from FreeBSD/cperciva:
  Log:
  If we are going to
  1. Copy a NULL-terminated string into a fixed-length buffer, and
  2. copyout that buffer to userland,
  we really ought to
  0. Zero the entire buffer
  first.

  Security: FreeBSD-SA-05:08.kmem

Thanks to Colin Percival for notifying us!
sys/kern/vfs_subr.c
sys/net/if_mib.c
sys/netinet/in_pcb.c