]> git.ipfire.org Git - thirdparty/dbus.git/commit
Avoid reading beyond the length of a variable
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Tue, 27 Aug 2013 18:16:42 +0000 (19:16 +0100)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Wed, 13 May 2015 17:44:44 +0000 (18:44 +0100)
commitb9a5ea27f9788a2b02ea3c5e6c700ffcc48a49d3
tree18915cff2255a82eeae6273af5ad5d733e8a96c9
parentc8b2d74503d41af3edcbef3a506850dede6bed49
Avoid reading beyond the length of a variable

Appending &some as DBUS_TYPE_INT64, DBUS_TYPE_UINT64 or DBUS_TYPE_DOUBLE,
where "some" is an int, reads beyond the bounds of that variable.
Use a zero-filled DBusBasicValue instead.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=30350
dbus/dbus-message-util.c