NetBSD/libexec/telnetd
kamil d9a1e5d37f telnetd: Stop defining the same variables concurrently in bss and data
auth_level and require_secure_login were defined in two places:

 - global.c that picked it from headers and removed 'extern'
 - telnetd.c that initialized it to 0

line was defined twice: in global.c and sys_term.c with a non-zero value.
Remove the definition and initialization from sys_term.c and initialize
the variable early in main().

Detected during the build of telned with Address Sanitizer (MKSANITIZER).

Reviewed by <mrg>
2019-08-15 01:15:21 +00:00
..
Makefile add LIBKRB5_LDADD/LIBKRB5_DPADD and their static counterparts 2018-02-25 00:16:48 +00:00
authenc.c
defs.h
ext.h
global.c
pathnames.h
slc.c
state.c - add or adjust /* FALLTHROUGH */ where appropriate 2019-02-03 03:19:25 +00:00
sys_term.c telnetd: Stop defining the same variables concurrently in bss and data 2019-08-15 01:15:21 +00:00
telnetd.8 Remove mention of SPX. 2018-12-15 23:23:51 +00:00
telnetd.c telnetd: Stop defining the same variables concurrently in bss and data 2019-08-15 01:15:21 +00:00
telnetd.h
termstat.c
utility.c - bump buffer sizes to avoid potential truncation issues 2019-02-04 04:36:41 +00:00