Skip to content

fix dbus's coredump,when limits on size have been exceeded

hongjinghao requested to merge (removed):master into master

In bus_driver_handle_set_connection_unix_user, after dbus_message_new_method_return called. The serial of the reply is set to 0, reply_serial is set to the serial of the message. When limts on size have been exceeded, the dbus needs to new error.In dbus_message_new_error, the dbus_message_set_reply_serial gets the serial of the reply instead of the reply_serial.Therefore, a coredump occurs. fix:#457 (closed)

Edited by hongjinghao

Merge request reports