Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-9] src/libexec/telnetd



Module Name:    src
Committed By:   martin
Date:           Fri Aug 16 19:12:46 UTC 2019

Modified Files:
        src/libexec/telnetd [netbsd-9]: sys_term.c telnetd.c

Log Message:
Pull up following revision(s) (requested by kamil in ticket #61):

        libexec/telnetd/telnetd.c: revision 1.56
        libexec/telnetd/sys_term.c: revision 1.49

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>


To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.48.2.1 src/libexec/telnetd/sys_term.c
cvs rdiff -u -r1.55 -r1.55.28.1 src/libexec/telnetd/telnetd.c

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




Home | Main Index | Thread Index | Old Index