Avoid an occasional double free in getpwent() which corrupted memory. It
authorderaadt <deraadt@openbsd.org>
Wed, 23 Jul 2008 19:36:47 +0000 (19:36 +0000)
committerderaadt <deraadt@openbsd.org>
Wed, 23 Jul 2008 19:36:47 +0000 (19:36 +0000)
commit24d3db5c649a73e87e51165f8e96eef76f95766d
treea6f535a7596ea60a899c2b096d7d72db0625132c
parent5a4c3a360e5b3a63757758268938968c18d51136
Avoid an occasional double free in getpwent() which corrupted memory.  It
happened only in the case of a + record indicating to use YP, but with ypbind
not actually running.  Problem found by pyr; solution found with millert
ok millert pyr
lib/libc/gen/getpwent.c