]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: fix property getter method for NFileDescriptorStore bus property
authorLennart Poettering <lennart@poettering.net>
Wed, 12 Apr 2023 18:51:23 +0000 (20:51 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 13 Apr 2023 04:41:27 +0000 (06:41 +0200)
commit47226e893b24f1aa84caaa6be266fb3c03442904
tree81fc6a79afaef4bd07d572d26d996755ad637d25
parent8dacdd28f49e0b985d651e7c9f946aa666454063
core: fix property getter method for NFileDescriptorStore bus property

Since da6053d0a7c16795e7fac1f9ba6694863918a597 this is a size_t, not an
unsigned. The difference doesn't matter on LE archs, but it matters on
BE (i.e. s390x), since we'll return entirely nonsensical data.

Let's fix that.

Follow-up-for: da6053d0a7c16795e7fac1f9ba6694863918a597

An embarassing bug introduced in 2018... That made me scratch my head
for way too long, as it made #27135 fail on s390x while it passed
everywhere else.
src/core/dbus-service.c