The fix (as linked aboved) is simply to ensure split() stops when it has
4 items. That way, we ensure we won't pass more arguments than the D-Bus
binding expects, which prevents the script from dying. So the garbage
gets packed in the last field, i.e. users that are members of the group.
This is not a problem since clients will simply get unknown users with
strange names and ignore them.

Ideally, we should check that every field is valid, but for a backport,
a one-line fix that works is better. Anyway, if the line is not correct,
we can hardly behave better than clearing the list of members of the
group.

-- 
users-admin (System->Administration->Users and Groups) overwrites group file
https://bugs.launchpad.net/bugs/160862
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