Commit aa427663 authored by Simon McVittie's avatar Simon McVittie

activation: Don't leak if delivering activation message is forbidden

This is technically a denial of service because the dbus-daemon will
run out of memory eventually, but it's a very slow and noisy one,
because all the rejected messages are also very likely to have
been logged to the system log.

Detected by AddressSanitizer.
Signed-off-by: Simon McVittie's avatarSimon McVittie <>
Resolves: #234
Reviewed-by: pwithnall
parent a6bae612
......@@ -1267,6 +1267,7 @@ bus_activation_send_pending_auto_activation_messages (BusActivation *activation
dbus_error_free (&error);
link = next;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment