diff options
Diffstat (limited to 'src/console/dlt-control-common.c')
-rw-r--r-- | src/console/dlt-control-common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/console/dlt-control-common.c b/src/console/dlt-control-common.c index 56a1795..d299c6d 100644 --- a/src/console/dlt-control-common.c +++ b/src/console/dlt-control-common.c @@ -210,7 +210,7 @@ int dlt_parse_config_param(char *config_id, char **config_data) { *(config_data) = (char*) calloc(DLT_DAEMON_FLAG_MAX, sizeof(char)); - strncpy(*config_data, + memcpy(*config_data, value, DLT_DAEMON_FLAG_MAX-1); } |