Skip to content

Commit

Permalink
Avoid truncation of startup message (#262)
Browse files Browse the repository at this point in the history
The buffer holding the message "Starting dockerd with..."
is currently too short and the final part, "as storage",
will be truncated for certain combinations of settings.
  • Loading branch information
killenheladagen authored Nov 11, 2024
1 parent ef44d77 commit f93cdd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/dockerdwrapper.c
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ static const char* build_daemon_args(const struct settings* settings, AXParamete
const bool use_tcp_socket = settings->use_tcp_socket;
const bool use_ipc_socket = settings->use_ipc_socket;

gsize msg_len = 128;
gsize msg_len = 256;
gchar msg[msg_len];

g_autofree char* log_level = get_parameter_value(param_handle, PARAM_DOCKERD_LOG_LEVEL);
Expand Down

0 comments on commit f93cdd7

Please sign in to comment.