2003-09-08 Christopher Faylor <cgf@redhat.com>
+ * passwe.cc (getpwnam_r): Initialize pw_comment field.
+
+2003-09-08 Christopher Faylor <cgf@redhat.com>
+
* passwd.cc (getpwuid_r32): Initialize pw_comment field.
2003-09-08 Christopher Faylor <cgf@redhat.com>
pwd->pw_dir = pwd->pw_name + strlen (temppw->pw_name) + 1;
pwd->pw_shell = pwd->pw_dir + strlen (temppw->pw_dir) + 1;
pwd->pw_gecos = pwd->pw_shell + strlen (temppw->pw_shell) + 1;
+ pwd->pw_comment = NULL;
pwd->pw_passwd = pwd->pw_gecos + strlen (temppw->pw_gecos) + 1;
strcpy (pwd->pw_name, temppw->pw_name);
strcpy (pwd->pw_dir, temppw->pw_dir);