test: Fix reading off the end of an array in test-corrupt
authorPhilip Withnall <withnall@endlessm.com>
Wed, 5 Apr 2017 10:35:27 +0000 (11:35 +0100)
committerSimon McVittie <smcv@debian.org>
Wed, 5 Apr 2017 15:22:22 +0000 (16:22 +0100)
commit9e864c2e4b43b81db110bf506968fd0caa8558a1
treea7792464602e29df636d0147d9fdaad5fb739223
parentd7ff4e5b1e0a984c7de0019fe907dfad82590f9e
test: Fix reading off the end of an array in test-corrupt

One level of pointer indirection too many when passing the arguments to
dbus_message_append_args().

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=100568
Signed-off-by: Philip Withnall <withnall@endlessm.com>
Reviewed-by: Simon McVittie <smcv@collabora.com>
test/corrupt.c