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)
committerDavid Herrmann <dh.herrmann@gmail.com>
Thu, 16 Jul 2015 13:01:52 +0000 (15:01 +0200)
commit4f1d774135ae8c6fedb3a9dee45efe1fb42ac389
treec823f1f45c0b6b56badb06d8c9201a1bc9cb7bdb
parent443a55981388f519fb6528a8ee042f9e69079b68
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/libsystemd/sd-bus/test-bus-marshal.c