Module Name:    src
Committed By:   martin
Date:           Wed Feb 12 20:13:57 UTC 2020

Modified Files:
        src/external/bsd/ppp/dist/pppd [netbsd-8]: eap.c

Log Message:
Pull up following revision(s) (requested by christos in ticket #1503):

        external/bsd/ppp/dist/pppd/eap.c: revision 1.5

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 <>

Signed-off-by: Paul Mackerras <>


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.4.8.1 src/external/bsd/ppp/dist/pppd/eap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Reply via email to