odd issue when running dbus-launch [cause found, but no fix found yet]

Thiago Macieira thiago at kde.org
Sun Dec 17 23:16:48 PST 2006


Vulpes Velox wrote:
>> > Can you put a breakpoint in the fill_user_info function around the
>> > calls to getgrouplist and tell us what it is doing wrong? I can't
>> > spot the problem...
>>
>> Found the issue.
>>
>>
>> Int ng is smaller than the number of groups a user is in. If I
>> increase it the problem goes away.
>
>It is not the best solution by the farthest, but it is slightly fixed
>by including sys/syslimits.h and setting ng to NGROUPS_MAX.
>
>This still sets a max upper limit though, but atleast sets it to what
>the system assumes it to be.

There's no variable named ng in dbus-sysdeps-unix.c

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/dbus/attachments/20061218/458b2370/attachment-0001.pgp


More information about the dbus mailing list