]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r258088:
authorkib <kib@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 17 Dec 2013 13:10:28 +0000 (13:10 +0000)
committerkib <kib@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 17 Dec 2013 13:10:28 +0000 (13:10 +0000)
commit17c6041ce17d5c08253780817a4a2e646d1a339d
treef72d550178dfa61795c52e6c7f668436e697664b
parentb8f3c0eeee3ca09382e1483fcbb58fb6da432227
MFC r258088:
Add check for buflen overflow by comparing the buflen with both offset
and resid.

MFC r258397:
Redo r258088 to avoid relying on signed arithmetic overflow.

git-svn-id: svn://svn.freebsd.org/base/stable/10@259506 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/fs/pseudofs/pseudofs_vnops.c