cvs commit: src/sys/kern kern_conf.c
Konstantin Belousov
kib at FreeBSD.org
Fri Jul 11 11:22:38 UTC 2008
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
More information about the cvs-src
mailing list