]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r298351
authorsbruno <sbruno@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 22 Jul 2016 03:09:47 +0000 (03:09 +0000)
committersbruno <sbruno@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 22 Jul 2016 03:09:47 +0000 (03:09 +0000)
commit1e7a8204a8b7e2a91a07b0ec8203244c1c33e6b1
treee20a8c2d2b629ad358b7ddb699a83e0d6a48566d
parentedb41926ef84dd98d6db00c96a6966419fb2c845
MFC r298351

Avoid a possible heap overflow in our nlm code by limiting the number
of service to the arbitrary value of 256.  Log an appropriate message
that indicates the hard limit.

git-svn-id: svn://svn.freebsd.org/base/stable/10@303173 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/nlm/nlm_prot_impl.c