chiark / gitweb /
sd-bus: correct size calculation in DBus fd receive
authorMichal Schmidt <mschmidt@redhat.com>
Wed, 16 Sep 2015 20:55:02 +0000 (22:55 +0200)
committerSven Eden <yamakuzure@gmx.net>
Wed, 29 Mar 2017 08:45:09 +0000 (10:45 +0200)
commit2475c001487720f09c251f2b4887849f2275e4ee
tree3ce8528b2c263bda326db53cba0d0e0756b29c4e
parentf95cf7a0e475fcb8777c43081219320f7e3dc59b
sd-bus: correct size calculation in DBus fd receive

The size of the allocated array for received file descriptors was
incorrectly calculated. This did not matter when a single file
descriptor was received, but for more descriptors the allocation was
insufficient.
src/libelogind/sd-bus/bus-socket.c