Source-Changes archive

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

CVS commit: src/usr.bin/login



Module Name:    src
Committed By:   dholland
Date:           Sun Mar 16 00:33:13 UTC 2014

Modified Files:
        src/usr.bin/login: login.c

Log Message:
Fix gcc48 build without Kerberos.

While here, rectify related bug where if gethostname() failed, login
would null-terminate uninitialized stack trash and cheerfully pass it
on to kerberos. In this case, revert to "amnesiac" instead.


To generate a diff of this commit:
cvs rdiff -u -r1.103 -r1.104 src/usr.bin/login/login.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