diff options
author | Will Thompson <will.thompson@collabora.co.uk> | 2009-06-07 17:44:26 +0100 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2009-07-10 19:43:37 -0400 |
commit | 9f825271f9106c23fe51ab54abdb5156b7751014 (patch) | |
tree | d6b65e5c3692a429dc99652ddb70e3dcc51fe163 /dbus/dbus-pending-call.c | |
parent | fe86222d10f0b2532be314a58841db82b1f5887e (diff) |
Ensure messages are locked while marshalling.
Locking a message has the side-effect of updating the message's length
header. Previously, if dbus_message_marshal() was called on an unlocked
message, it could yield an invalid message (as discovered by Ben
Schwartz in <http://bugs.freedesktop.org/show_bug.cgi?id=19723>).
Diffstat (limited to 'dbus/dbus-pending-call.c')
0 files changed, 0 insertions, 0 deletions