Skip to content

Commit

Permalink
Avoid truncation of startup message (#178)
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.

Co-authored-by: Mattias Axelsson <[email protected]>
  • Loading branch information
github-actions[bot] and killenheladagen authored Nov 11, 2024
1 parent 6c00bb6 commit ba37998
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/dockerdwrapperwithcompose.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 ba37998

Please sign in to comment.