NetBSD/external/bsd/ppp
christos b331def536 pppd: Fix bounds check in EAP code
Given that we have just checked vallen < len, it can never be the case
that vallen >= len + sizeof(rhostname).  This fixes the check so we
actually avoid overflowing the rhostname array.

Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>

From:
8d7970b8f3
2020-02-12 01:51:52 +00:00
..
dist pppd: Fix bounds check in EAP code 2020-02-12 01:51:52 +00:00
usr.sbin introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
Makefile
ppp2netbsd merge conflicts 2014-10-25 19:06:33 +00:00