Source appears to be the following and should probably be fixed
upstream?

tools/polkit-gnome-authorization.c
357-        for_uid = polkit_authorization_get_uid (auth);
358-        pw = getpwuid (for_uid);
359-        if (pw != NULL)
360:                if (pw->pw_gecos != NULL && strlen (pw->pw_gecos) > 0)
361:                        for_user = g_strdup_printf ("%s (%s)", 
pw->pw_gecos, pw->pw_name);
362-                else
363-                        for_user = g_strdup_printf ("%s", pw->pw_name);
364-        else
--
649-                        continue;
650-
651-            /* Real name */
652:            if (pw->pw_gecos != NULL && strlen (pw->pw_gecos) > 0)
653:                    real_name = g_strdup_printf (_("%s (%s)"), 
pw->pw_gecos, pw->pw_name);
654-            else
655-                    real_name = g_strdup (pw->pw_name);
656-

src/polkit-gnome-auth-dialog.c
207-            }
208-
209-            /* Real name */
210:            if (passwd->pw_gecos != NULL && strlen (passwd->pw_gecos) > 0)
211:                    real_name = g_strdup_printf (_("%s (%s)"), 
passwd->pw_gecos, admin_users[n]);
212-            else
213-                    real_name = g_strdup (admin_users[n]);
214-

-- 
Username combo has 3 commas appended
https://bugs.launchpad.net/bugs/211805
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to