Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
common: Initialize message in cockpit_web_request_on_socket_input()
g_socket_receive_message() can fail, and a lot of exit paths don't initialize `ccm.n_messages`. Initialize the struct (like in test-jsonfds.c), so that cockpit_control_messages_clear() does not try to free uninitialized message pointers. Fixes cockpit-project#17492
- Loading branch information