cvs commit: src/sys/kern vfs_subr.c src/sys/net if_mib.c src/sys/netinet in_pcb.c

Simon Schubert corecode at crater.dragonflybsd.org
Fri May 6 04:52:42 PDT 2005


corecode    2005/05/06 04:52:02 PDT

DragonFly src repository

  Modified files:
    sys/kern             vfs_subr.c 
    sys/net              if_mib.c 
    sys/netinet          in_pcb.c 
  Log:
  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!
  
  Revision  Changes    Path
  1.56      +1 -0      src/sys/kern/vfs_subr.c
  1.5       +1 -0      src/sys/net/if_mib.c
  1.35      +1 -0      src/sys/netinet/in_pcb.c


http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_subr.c.diff?r1=1.55&r2=1.56&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/net/if_mib.c.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netinet/in_pcb.c.diff?r1=1.34&r2=1.35&f=u





More information about the Commits mailing list