cvs commit: src/sys/kern tty_pty.c

Konstantin Belousov kib at FreeBSD.org
Fri Jan 18 10:07:05 PST 2008


kib         2008-01-18 18:07:04 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             tty_pty.c 
  Log:
  In the rev. 1.153, the one place for converting minor number to unit
  was missed. As result, pty_create_slave() may index out of the names[]
  bounds, creating wrong slave tty names.
  
  Tested by:      kensmith
  Reviewed by:    jhb
  MFC after:      3 days
  
  Revision  Changes    Path
  1.156     +3 -1      src/sys/kern/tty_pty.c


More information about the cvs-all mailing list