]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Avoid a possible heap overflow in our nlm code by limiting the number
authorsbruno <sbruno@FreeBSD.org>
Wed, 20 Apr 2016 15:31:03 +0000 (15:31 +0000)
committersbruno <sbruno@FreeBSD.org>
Wed, 20 Apr 2016 15:31:03 +0000 (15:31 +0000)
commitb09e37ef6cc1ad2e74a185000ee99cee5da7e798
tree503fcf5f4bc9eb5d9efce71a567aad9f916059a6
parentf0c0089228967af0eaf831f716f8b04f7ade6c75
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.

PR: 208808
Submitted by: cturt@hardenedbsd.org
Reviewed by: dfr
Obtained from: HardenedBSD
MFC after: 2 weeks
sys/nlm/nlm_prot_impl.c