]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r298732:
authorpfg <pfg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 5 May 2016 01:34:58 +0000 (01:34 +0000)
committerpfg <pfg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 5 May 2016 01:34:58 +0000 (01:34 +0000)
commit9d4a2b7347ba74ab12325c277f68b3bfe58150c4
treee6a926369284620b503a8e69229f6a412b2f93e7
parentb00b9afdce1985aeae4fab861a596cb8341c2b15
MFC r298732:
sys/devfs: unsign an index to prevent signed integer overflow.

cdp_maxdirent in struct:cdev_priv is of type u_int.  Use the same
type for the corresponding index in devfs_revoke().

git-svn-id: svn://svn.freebsd.org/base/stable/10@299106 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/fs/devfs/devfs_vnops.c