diff options
author | Oleksandr Byelkin <sanja@mariadb.com> | 2023-01-31 09:57:52 +0100 |
---|---|---|
committer | Oleksandr Byelkin <sanja@mariadb.com> | 2023-01-31 09:57:52 +0100 |
commit | 638625278e7cadf42633e6f9d1b663ca1e3e1bb1 (patch) | |
tree | 8c93d8a33713abff96d229e96828870a53d0a5a0 /dbug | |
parent | fa543a0f621fcf19e31c7d044f2b6c4f0836cd5a (diff) | |
parent | b923b80cfd8628ef973019bf3dba76dda8d940c4 (diff) | |
download | mariadb-git-638625278e7cadf42633e6f9d1b663ca1e3e1bb1.tar.gz |
Merge branch '10.7' into 10.8
Diffstat (limited to 'dbug')
-rw-r--r-- | dbug/dbug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbug/dbug.c b/dbug/dbug.c index a6d893e3f49..54d4c22ad93 100644 --- a/dbug/dbug.c +++ b/dbug/dbug.c @@ -511,7 +511,7 @@ static int DbugParse(CODE_STATE *cs, const char *control) stack->delay= stack->next->delay; stack->maxdepth= stack->next->maxdepth; stack->sub_level= stack->next->sub_level; - strcpy(stack->name, stack->next->name); + safe_strcpy(stack->name, sizeof(stack->name), stack->next->name); stack->out_file= stack->next->out_file; stack->out_file->used++; if (stack->next == &init_settings) |