summaryrefslogtreecommitdiff
path: root/src/console/dlt-control-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/console/dlt-control-common.c')
-rw-r--r--src/console/dlt-control-common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/console/dlt-control-common.c b/src/console/dlt-control-common.c
index 8a9d29f..f58d826 100644
--- a/src/console/dlt-control-common.c
+++ b/src/console/dlt-control-common.c
@@ -671,8 +671,8 @@ DltReturnValue dlt_json_filter_load(DltFilter *filter, const char *filename, int
struct json_object *j_payload_max;
enum json_tokener_error jerr;
- char app_id[DLT_ID_SIZE] = "";
- char context_id[DLT_ID_SIZE] = "";
+ char app_id[DLT_ID_SIZE + 1] = "";
+ char context_id[DLT_ID_SIZE + 1] = "";
int32_t log_level = 0;
int32_t payload_max = INT32_MAX;
int32_t payload_min = 0;