Trouble with HP-UX 8-char login names

Joseph S. D. Yao jsdy at hadron.UUCP
Tue Feb 4 17:09:33 AEST 1986


Old login/passwd code used to try to put nul-terminated (or not)
login names in 8-character arrays.  Needless to say, this overflows
if the logname is >= 8 chars.  Although the > part was handled, the
= part was not (including the 8th char in an 8+ char logname).  I'm
surprised that this code persists, but can't access s5 code right
now.  If you are a source licensee, go in and change all logname
references to correctly reference 8-char lognames terminated by a
9th NUL char; if you are not, then use lognames <= 7 chars.
-- 

	Joe Yao		hadron!jsdy at seismo.{CSS.GOV,ARPA,UUCP}



More information about the Comp.unix.wizards mailing list