dbus_message_demarshal: Set error if we can't allocate the loader
authorSimon McVittie <smcv@collabora.com>
Mon, 27 Nov 2017 19:13:25 +0000 (19:13 +0000)
committerSimon McVittie <smcv@collabora.com>
Wed, 5 Oct 2022 09:46:55 +0000 (10:46 +0100)
commit82fcf400cc2d6a5f4247528dd5c27b26e867675a
tree72dbddfd49c74964e115855ed2d9edfde44df873
parent9f675abd3fea8222011b1134714c3cf71f7b1f2b
dbus_message_demarshal: Set error if we can't allocate the loader

Backported from 1.13.0. Previously this was fixed in the dbus-1.14 branch
but unfixed in the dbus-1.12 branch, but we need it fixed in dbus-1.12
if we want the additional test coverage for dbus#413 to pass.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=100317
Reviewed-by: Philip Withnall <withnall@endlessm.com>
Signed-off-by: Simon McVittie <smcv@collabora.com>
(cherry picked from commit ecbcffae19ff1b811fc7d0d602458c0f00dd6771)
dbus/dbus-message.c