[hacknews] getpwent

henry@utzoo.UUCP (Henry Spencer) (06/05/84)

Fixed a nasty and long-known bug in getpwent(3) and relatives:  they
did not cope properly with password-file lines with the wrong number
of fields, with the result that a botched manually-edited line caused
'cancer':  a steadily growing number of garbage lines, multiplying as
the file got rewritten by password changes.
-- 
				Henry Spencer @ U of Toronto Zoology
				{allegra,ihnp4,linus,decvax}!utzoo!henry