Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jul 2008 11:22:19 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern kern_conf.c
Message-ID:  <200807111122.m6BBMcLi031979@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
kib         2008-07-11 11:22:19 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             kern_conf.c 
  Log:
  SVN rev 180445 on 2008-07-11 11:22:19Z by kib
  
  Make it atomic for the devfs_populate_loop() to see the setting of
  SI_ALIAS flag and initialization of the si_parent when alias is created.
  Assert that supplied parent device is not NULL.
  
  Both situations could cause NULL dereference in the
  devfs_populate_loop() when creating a symlink for SI_ALIAS'ed device.
  Namely, cdp->cdp_c.si_parent may be NULL.
  
  Reported by:    mav
  MFC after:      2 weeks
  
  Revision  Changes    Path
  1.219     +2 -1      src/sys/kern/kern_conf.c



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