Bug in the deluser applet

Denys Vlasenko vda.linux at googlemail.com
Thu Mar 12 14:34:36 UTC 2015


On Tue, Mar 3, 2015 at 2:13 PM, Laszlo Papp <lpapp at kde.org> wrote:
> Denys, any feedback about this bugfix?

It is whitespace damaged.

>> +        char *cp, *line;
>> +        if (!name && member) {
>> +            struct group* g;
>> +            if ((g = getgrent())) {

Read the file using getgtent?
The rest of the function uses comletely different approach.

I am applying the attached patch.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 6.patch
Type: text/x-patch
Size: 3160 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20150312/dac41b1a/attachment.bin>


More information about the busybox mailing list