]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r298732:
authorpfg <pfg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 5 May 2016 01:35:42 +0000 (01:35 +0000)
committerpfg <pfg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 5 May 2016 01:35:42 +0000 (01:35 +0000)
commit7ce47f45a6a811f724cf416f3530ded39e76e926
tree6dc7fdffb434a79db1289dc95983b09f19dbf099
parent61e44b2550cc818dc49772045bfd37fa53e63005
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/9@299107 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/fs/devfs/devfs_vnops.c