chiark / gitweb /
sd-bus: fix invalid stack access on test-bus-marshal
authorDavid Herrmann <dh.herrmann@gmail.com>
Thu, 16 Jul 2015 12:57:59 +0000 (14:57 +0200)
committerSven Eden <yamakuzure@gmx.net>
Tue, 14 Mar 2017 09:06:20 +0000 (10:06 +0100)
commitacfcd596701fed76897fb64396ac6a123576c6e1
tree870abb11253f6dc92568aa8d4a331395525f8a79
parent2f92bdb77d4bcae53737f0e89bbc908556836a7d
sd-bus: fix invalid stack access on test-bus-marshal

Make sure we actually parse "unsigned long long" if we encode a uint64_t.
Otherwise, we will get random data from the stack.
src/libelogind/sd-bus/test-bus-marshal.c