freebsd-nq/sys/fs/devfs
Mark Johnston 243b324f96 devfs: Avoid comparison with an uninitialized var in devfs_fp_check()
devvn_refthread() will initialize *devp only if it succeeds, so check for
success before comparing with fp->f_data.  Other devvn_refthread()
callers are careful to do this.

Reported by:	KMSAN
Reviewed by:	kib
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D30068
2021-05-03 13:24:30 -04:00
..
devfs_devs.c devfs(4): defer freeing until we drop devmtx ("cdev") 2020-12-29 13:47:36 +00:00
devfs_dir.c
devfs_int.h Remove #define _KERNEL hacks from libprocstat 2021-02-21 11:38:21 +02:00
devfs_rule.c
devfs_vfsops.c vfs: drop the mostly unused flags argument from VOP_UNLOCK 2020-01-03 22:29:58 +00:00
devfs_vnops.c devfs: Avoid comparison with an uninitialized var in devfs_fp_check() 2021-05-03 13:24:30 -04:00
devfs.h Remove #define _KERNEL hacks from libprocstat 2021-02-21 11:38:21 +02:00