]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r332142:
authorkp <kp@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 14 Apr 2018 00:20:47 +0000 (00:20 +0000)
committerkp <kp@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 14 Apr 2018 00:20:47 +0000 (00:20 +0000)
commit4989d5ceaa2ca88160c779ea5046ea9f498e7d55
tree0f8c4c797776618636a1b035098b3be4b3db72f5
parentbd2afb17fae97b9968eb2e1a3e9054edd11ac2ab
MFC r332142:

pf: Improve ioctl validation

Ensure that multiplications for memory allocations cannot overflow, and
that we'll not try to allocate M_WAITOK for potentially overly large
allocations.

git-svn-id: svn://svn.freebsd.org/base/stable/10@332497 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/netpfil/pf/pf_ioctl.c