K 10 svn:author V 7 git2svn K 8 svn:date V 27 2022-09-29T22:37:39.673783Z K 7 svn:log V 551 telnetd: fix two-byte input crash Move initialization of the slc table earlier so it doesn't get accessed before that happens. For details on the issue, see: https://pierrekim.github.io/blog/2022-08-24-2-byte-dos-freebsd-netbsd-telnetd-netkit-telnetd-inetutils-telnetd-kerberos-telnetd.html Reviewed by: cy Obtained from: NetBSD via cy Differential Revision: https://reviews.freebsd.org/D36680 (cherry picked from commit 6914ffef4e2318ca1d0ead28eafb6f06055ce0f8) Git Hash: f2aa49e7fda515163da188ec75dba223e2e52216 Git Author: brooks@FreeBSD.org END