Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Dec 2004 19:24:49 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern tty.c
Message-ID:  <200412301924.iBUJOntm035161@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2004-12-30 19:24:49 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             tty.c 
  Log:
  Call tty_close() at the very end of ttyclose() since otherwise NULL
  deferences can occur since tty_close() may end up freeing the tty structure
  if it drops the last reference to it.
  
  Glanced at by:  phk
  
  Revision  Changes    Path
  1.244     +1 -1      src/sys/kern/tty.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412301924.iBUJOntm035161>