• Giovanni Mascellani's avatar
    daemon: fix object path derivation for large UIDs · 163f2d14
    Giovanni Mascellani authored
    accountsservice exports an object on the system bus
    for every user it tracks. The path of the object is
    derived from the user's uid.
    
    The format string used for computing the object path
    supposes the UID is signed. UIDs are unsigned quantities,
    though, so very large UIDs get misrepresented as negative
    values in the resulting object path. The negative sign
    "-" is invalid in an object path. Under these circumstances,
    accountsservice will crash.
    
    This commit corrects the problem, by using a format string
    that is appropriate for unsigned values.
    
    https://bugs.freedesktop.org/show_bug.cgi?id=85688
    163f2d14
Name
Last commit
Last update
data Loading commit data...
doc Loading commit data...
m4 Loading commit data...
po Loading commit data...
src Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
INSTALL Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
TODO Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...